I present to my fellow nukers the next generation of GoogleTap, GT-NExtGEn!
Many major advancements to the current distribution in the beta release:
· Now module based, only loads required conversions for each module when needed.
· No more & and & confusions, all &'s are represented as &
· All core modules have been tapped! (All core modules taken from BetaNukeCops Bundle)
· All blocks from BNC Bundle have been revamped to work with GT-NExtGEn
· Revamped forum expressions, more standardized, shorter, sweeter. Expressions help limit interferring with extra modules installed on your forums.
· Contains tweaks to help you get the most from AvantGo and article printing[/list]
This is just what I can think of, I feel this is a solid release as is, but
we need your feedback to get this out of beta stage, so please test away and reply with your thoughts and the bugs.
A site is in the works solely for GoogleTap, it will contain among other things:
tutorials, updates, additions, limited support and suggestion forum, gt module files for third party modules (i.e Edonkey, Coppermine, etc), and much more.
Full details will be released in the next few weeks.
I hope you enjoy the beta and what I see as the future to GoogleTap.
I fail to see what you are talking about with the Forums block, this block is the same I am using on the GT-NExtGEn site in development and I am not seeing where it says modules.php?name=Forums anywhere. Are you sure you uploaded the block and have activated it? My block has the full conversions, the easiest way to prove that is to put all the URL's here. These are all the URL's from the file in the distribution:
If there were a modules.php?name=Forums in the file, it would appear in one of those above <A Tags> but it does not.
Also with the menu, I talked about all this in the documentation in the distro, (please refer to that documentation) if you use default block-Modules.php (The Default Modules block, the one that updates automatically) follow the tweak in the admin/modules/ directory of the beta distro. If you use a manually editable modules block, convert the modules into their .html equivalents. No header.php is needed for blocks to work correctly.
I look at it this way, if you are using GT, be serious with it, if you like the way the modules are being converted and being spidered, than it is easy enough to edit your main menu. If you want the main menu converted at every turn, that is fine and dandy, but you are just adding more conversions to the array's than what is necessary. All you have to do to edit your menu (Repeat not the default menu that updates itself, a manually editable menu such as phpbb2 main menu) is search for a href inside your code, if whatever is inside the <a href tags is a php url (i.e modules.php?name=blah) and has been tapped, replace it with the .html equivalent, the following are a list of php-url's to their .html equivalents for GT-NExtGEn, just interchange the two inside your menu, (Note again, if you are using the default menu that updates itself this will not work, see the admin/modules/ folder of the distribution and follow the directions if you so choose to do so)
I wanted to wait to do this, but here is the url to what will become the developement site, that is a working distro of this exact code,
http://gt.audioslaved.com
The one additional tweak I performed which is not a part of the distro, was to my overall_header.tpl file for my theme, everything else is straight out of the box from "reading" the documentation and following the instruction.
The GT-Forums.php has absolutely nothing to do with the menu, that file is called when the Forums module is loaded. The GT-Forums.php contains all the necessary data for converting your Forums Module to the GT equivalent. (Private Messages and Members List are also included in the forum file) the whole Googletap folder needs to be uploaded to your website which is covered in the install readme file
From Intstall_README.txt
Code:
- Next, Upload the included GoogleTap directory to your main directory (Same directory your mainfile.php, header.php and footer.php are located in). This directory contains the necessary files for converting your modules URL's to their .html equivalents.
Keeping that train of thought, I fail to see what you mean by:
Quote:
example in your google folder you have GT-Forums.php and when you click on that it still shows
Well is the admin/links/modules.php in your release a moded one becuase that is the one that I uploaded over the current one in the file! No worry sir I am not one to say you are wrong, I am sure it is just me!! I will give it another shot and let you know. Didn't mean to make you mad!!
Whoah! Errrr! Stop the car and backup, lets take this from the beginning.
Read the documentation in the same folder msimonds, it tells you what to do with that file (modules.php), you have done one step of the admin modules main menu tweak. If you use an editable main menu than you do not need to do this at all.
I am not mad at you msimonds, I simply need you to read the documentation for the distro before posting questions about it. If you indicate you read the documentation and it didn't make sense, then that is a different story bud, let me know what doesn't make sense and we can work on making it make sense. The documentation you need to read is the admin_modules_tweak_for_mainmenu.txt file. That is of course if you are using the default modules menu that ships with nuke, read the docs of the distribution in this order.
1. Before_Install_README (main folder)
Contains differences between the new and old GT.
2. Install_README (main folder)
Installation instructions
3. BLOCKS_README (blocks folder)
block guidance, to include that for the main menu
Then, if you need to:
4. admin_modules_tweak_for_mainmenu (admin/modules folder)
After that, let me know where you stand? See you around. I have no doubt a month from now, you will be schooling fools and teaching them this stuff, stick with it and stay in there, you are on your way, just when you think you are going to pop, your brain ungarbles all the information and it mysteriously makes sense. You are halfway there!
Does this mean that you are taking over the GT project? I'm sure you have great skills and don’t wish for my skepticism to be interpreted in a derogatory manner, but without ZX's endorsement I'm leery...
Will NukeCops endorse this package? Will NukeCops continue their own advancement in the GT project?
irving.hutagalung Corporal
Joined: Oct 07, 2003
Posts: 54
Location: Jakarta (Indonesia)
Posted:
Mon Nov 17, 2003 7:05 pm
Downloading, and will do the installation any minute now. I'll post the result. And since my site is just a small personal site, I will bravely modify the production site without testing
BTW, Audioslaved, when I convert some of my blocks (before GT-NG), I saw some href that use single quote instead of double quote. Will GT-NG handle this if this happens inside a module? I mean, if it's in a block, we will change it manually anyway. But if it happens in a module, will the code handle it?
And whatever the result of my installation ... GREAT WORK!!!
Audioslaved, I've installed the GT-NExtGEn at my site. You can take a look. I'm going to update the site menu (I use the Sommaire block), but the rest of the site seems strange. Haven't look in the detail yet, but it seems that the new user registration fails. I'll look at the code later on.
Okay, preliminary results, with a lot of questions from me. I don't have time to look for the source of problem, nor I have the time to test everything. But I leave the GT-NExtGEn code in my production site, so my users (or myself) will find the error, if not now, later.
1. I'm using default theme from PHP-Nuke, which have several buttons at the top of the page (just under the banner). These links did not get converted. Is this by design?
2. Register link in the User Info block goes to 404. I checked the .htaccess, and found a bug. Previous code:
Those URLs are for a download item with a title: "Kidung Jemaat 002. SUCI, SUCI, SUCI"
Haven't got time to test:
Surveys
Feedback
Recommend Us
Your Account
Private Messages
Journal
Submit News
But I'm certainly will. Just need to go for a while.
BTW, Audioslaved, looking at #3 and #4, we should think about modules that cross to another module. Your design emphasis on efficiency, only converting URLs for a specified module. But, as you can see, some modules refers/links to another modules. If we don't combine the urlin/urlout of those modules, the links will not be converted.
Anyway, great work man, especially thinking that this is still Beta 1
Yeah, if you look around the files for some of the other modules like top and search, your account, forums, you will see the code for other modules in there. I saw the news stuff today when I was looking around as well, thanks for pointing that out, I saw that new_user thing last night and thought I put that in there, I must have closed the file without saving it, or maybe I just added that to the GT module file without adding it to the .htaccess. Regardless, great finds, this is exactly what I am looking for.
Concerning the top links, this is by design, you will have to edit your overall_header.php and manually convert the URL's. I did this for a few specific reasons, particularly; Am I certain that almost all nuke installs use the News Module as the default? No. And even then, I would have to add that code to every module, and have a seperate array for those modules which are not tapped that would still convert the header and menu items, all in all, it seemed it would just add up more and more URL's almost defeating the purpose. Also, was I sure that only a few urls (i.e downloads, your account, home) were the only urls that were listed on peoples headers if any are listed at all? Nope again. Instead of playing the guessing game which I did alot in the previous distro, I decided to concentrate on the core code and let the person installing change the lines to fit their specific needs. I still feel strongly that this is the method to go, even if I have to edit those a few urls.
One thing I really like about the new distro is that if you need to do file edits or site upgrades and don't need the tap, you just turn it off in the header ($ob variable set to 0 = off). I also like the fact how easily I can add new code to modules as the smaller files are easier to manage, and turning off GT for a module is easy because I can rename the file or delete it and GT will no longer convert that module. The last thing I like if you look at the code, is if you enter a module with no tap, the $ob variable is set to 0, and the page does not waste the resource time outputting the buffer to memory and processing undeeded conversions. The only thing left to do is move the .htaccess to the module too, though that is more of a joke than a real thought at this point.
Back to the subject, went on a tangent there, I am really interested in someone that has converted a module for the beta, was it easier knowing you could just use the URL in the address bar and just substitute the & for & being confident that it will work instead of taking a stab in the dark you got the & and & situated correctly in the header.php (.htaccess represents all &'s as &)
I am also interested in anyone that has used the block-GT-Modules.php with the admin modules main menu tweak, I am eager to know if this works well for you and if not what could be done to make the process easier/ more efficient.
Irving, I will make those updates on the development site (gt.audioslaved.com), that is the actual running code at all times for GT-NExtGEn and it is running the nukecops bundle. I will create a list of changes on the site, and bugs reported so we can keep track of everything, great work, many thanks and appreciation for the help.
Also, talking about your number 5, do you realize we will probably have to allow every character for the title, I really hate the way this is written, I believe it is the same in the web_links module as well, maybe reviews too. I think that is a horrible idea (not to mention poor coding, giving the client too much freedom with variables that should not be manipulated so easily) and as someone pointed out, since that is passed as the variable you could literally type this and it would still work perfectly on your site.
Anyway, moving on from that, when you talk of the Stories archive you mean the main news title right, what should be converted to article$sid.html, everything else except that converts right? Thx again.
For top links, since it is by design, then I will make the modification in my site.
For title to pass variables, totally agree with you. But, we have to work this way, since (some of) the PHP-Nuke modules work that way. I don't know about 7.0beta though.
For Stories Archive, yes, only the news titles did not convert. The rest is okay.
Additional problems that I found:
In GT-Your_Account.php, the same underscore is missing (the same as .htaccess)
In Private Messages:
If I haven't logged in, as usual, I will get Access Denied message. However, the Register link in that message did not get converted.
Also, after logging in and going to Private Messages, the logout link (the same line as FAQ, etc.) is not correct
In Submit News:
User name linked to Your Account is not converted
Logout linked to Your Account is not converted
As you suggested, I try to convert a non-standard module, ie. Coppermine. So, I created GT-coppermine.php, upload it to GoogleTap directory. But when I try it, no conversion happens. I don't know what's wrong. Should I use "Coppermine" with capital "C" or just "coppermine"? Because the module name is "coppermine" with small "c". Following is the content of that file (works in the old GT):
Fixed items 2, 3, 4 from your post a few above, they have been added to the code, I made a forum entry for them on the other site under bug reports, I will also update the distro.
I have fixed the your_account pm redirect thing, the problem was the _ not being in the expression in your account module as you pointed out.
I am working on getting the title to work right, for some reason using the posix extensions with PCRE is not working like it indicates in the documentation, so I instead of simply using [:punct:] I will have to manually escape and add all scecial characters.
The coppermine thing sounds easy, there is a part in the distro for it that probably includes the footer.php, well, what needs to happen is that you need to make $ob a global variable so it is passed, kinda like the entry in modules/journal/functions.php and the one in includes/page_tail.php
I do not use coppermine, but 99 percent of my gut instinct tells me that the variable is not being passed because the footer may be being included via a function where the variable has not been declared globally (Or something similar), hope you understand what I mean.
Another way to ensure your module is being pulled correctly is to echo $module_name in your header.php, when you click on coppermine, it should say coppermine in the top left hand corner, that will help you confirm that it sees your module. Let me know what you find.
When the coppermine tap is 100% we will put it up on gt.audioslaved.com as a GT-NExtGEn Module Download, hopefully in the next few months, most third party modules will be tapped and a nice tapped module library can be found for nukers.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum