You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 39 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - GT Meeting [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Wed Oct 22, 2003 5:25 pm Reply with quoteBack to top

Hey all, I have seen a few things that are really starting to make me think of making a few of the core mods work differently, such as the reviews section and many of the others that pass the title in the URL. I say this because of the following example. Say you have a review and are passing the sid and title variable via the URL, so your title is
What?....I cant believe its not butter? Then your full URL will be
reviews-1(<--sid)-What?....I+cant+believe+its+not+butter?(<--title).html

When the variable is passed, since you are including .'s to be included for the title, the .html is passed as well to the function which displays what it was given, now your title is
"Do you want to rate What?....I+cant+believe+its+not+butter?.html"

To alleviate this, and the huge size of the URL, I would like to rewrite the code to only pass the ID and later sync the ID to the name in a db query, then display the name, this would only take a few entries per file probably, but help to go a long way in rewriting. Is this OK with everyone, and if so, is there ever a chance of changing the way a core module works in the distro? Idea's, Suggestions? Feedback? Back to bug fixes, later everyone.

_________________
GT-NExtGEn: The future of GoogleTap
http://gt-nextgen.com/

The Audioslave Fan Forum
http://www.audioslaved.com
Find all posts by AudioslavedView user's profileSend private messageSend e-mailVisit poster's website
irving.hutagalung
Corporal
Corporal


Joined: Oct 07, 2003
Posts: 54

Location: Jakarta (Indonesia)

PostPosted: Thu Oct 23, 2003 3:40 am Reply with quoteBack to top

I don't know about anyone else, but one of the reason I use GT is bcoz it doesn't make any changes to the core code of PHPNuke.

I use a default install of PHPNuke, with only small configurations. Then I install GT, which only add new function and make only a small modification to .php files.

Even with only such small changes, people already asking on how to install GT. Now, with code changes in the core files, how are we going to distribute the code? Are we going to put core files from various PHPNuke versions in the distribution files?

Just my 2 cents.

- irving
http://www.IrvingEvaJoan.com
Find all posts by irving.hutagalungView user's profileSend private messageVisit poster's website
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Thu Oct 23, 2003 3:48 am Reply with quoteBack to top

That is what my question is, what is the possibility if I do rewrite mods to not use the $title variable in the URL, getting that in the distro, if I cannot get a thumbs up from the community/developers on that, then I will not bother trying to do it.

The only way I would change core files and distribute them in the GT distro, is if it had the blessing to go in the distro, so everyone would remain on the same page of music. I clearly do not want there to be like downloadsGTmodule and etc, that opens a whole other can of worms. I agree with you, I want to apply GT with minimal changes to everything else, I also think that a change like this now could make a big difference in how short and cutesy the URL's look and prove beneficial in the future. Thanks for your feedback, I agree 100%.

Also, about people having all the questions, if you download the next distro update I think you will see many of the questions about mysterious GT will slowly fade. Can we say some documentation, Yeh!!!! I will probably put it up in the next hour.

_________________
GT-NExtGEn: The future of GoogleTap
http://gt-nextgen.com/

The Audioslave Fan Forum
http://www.audioslaved.com
Find all posts by AudioslavedView user's profileSend private messageSend e-mailVisit poster's website
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Thu Oct 23, 2003 5:21 am Reply with quoteBack to top

There is a similar problem with the forums and the userinfo GT links. I haven't seen your code yet so I'm unsure if you addressed that. If not, its on my list to get done.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Thu Oct 23, 2003 5:45 am Reply with quoteBack to top

I may have addressed this problem in the current distribution of rewrites. I would be interested in hearing if the staff thinks the distribution is turning out OK. Alrighty, issue at hand.

If I was to change the way a few modules do the URL's, take out the passing of the $title variable and just leave the $sid, then process the sid with the title in the function, is there a way that type of thing could get added to the distro(s). I think this would be a good move because we will be able to cut out many conversions in the header.php and the URL's will stay short and sweet without affecting how the core of the module works.

_________________
GT-NExtGEn: The future of GoogleTap
http://gt-nextgen.com/

The Audioslave Fan Forum
http://www.audioslaved.com
Find all posts by AudioslavedView user's profileSend private messageSend e-mailVisit poster's website
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Thu Oct 23, 2003 8:43 am Reply with quoteBack to top

I would suggest not changing anything in the phpnuke code since the core is maintained by Francisco.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.350 Seconds - 219 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::