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, 46 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Updated Google Tap Distribution 10-22-2003 [ ]
 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
Ronin
Nuke Soldier
Nuke Soldier


Joined: Jun 08, 2003
Posts: 30


PostPosted: Thu Nov 13, 2003 8:57 am Reply with quoteBack to top

Bill,

Code:
<INPUT TYPE="button" VALUE="Current Signature" onClick="location='modules.php?name=Forums&file=profile&mode=signature&id=current_sig'">
      <INPUT TYPE="submit" VALUE="Preview" name="preview">
      <INPUT TYPE="submit" VALUE="Save" name="save">


This was pasted from a text file not a browser so it should represent the actual text. So its just &, not & amp (take out the space Wink ).

_________________
Cheers,
Ronin
Find all posts by RoninView user's profileSend private message
P3ter
Nuke Cadet
Nuke Cadet


Joined: Nov 13, 2003
Posts: 3


PostPosted: Thu Nov 13, 2003 9:27 am Reply with quoteBack to top

Okay, here we go...first off, thanks for your amazing work audioslave, its highly appreciated.

I implemented googletap and it woorks great, my forums are all converted to html.
It left me with one problem tho:

I have a shop hack on the forums, based on a points sytem, now when i try to get to my shop, i get an error:

http://www.t100.org/modules.php?name=Forums&file=shop_effects&action=specialshop&shop=Special

is what the original url should be

http://www.t100.org/forumsshop_effects-action-specialshop.html&shop=Special

is what GT converts it to, and leaves me with the message: Shop Name Must Be Passed!

any ideas or pointers on how to fix this?

Thanx in advance,

Peter
Find all posts by P3terView user's profileSend private messageVisit poster's website
fuzioneer
Private
Private


Joined: Nov 07, 2003
Posts: 37


PostPosted: Thu Nov 13, 2003 4:00 pm Reply with quoteBack to top

hmmm i seem to be getting somewhere with the google tap of matyscripts centre forum block, but i have hit a problem.

I understand the concept of replacement of urls etc, but i am completely lost on this one !!!

The centre block links to last posted topic goes to:-
http://www.motorhomefacts.com/forum-viewtopic.html&p=213#213

this is incorrect but you can see the url has been tapped, the correct url for the last post is:-

http://www.motorhomefacts.com/postt95.html#213

now how do i get around this ???
because somehow the posts dont tie up with the section of the page reference (i.e. the #213) instead of being the original 213 post its now 95 for some reason ???

Here is the line from the block that plucks the last topic id etc out:-

Code:
$TopicTitleShow = "<a href=\"modules.php?name=Forums&file=viewtopic&amp;p=$topic_last_post_id#$topic_last_post_id\"STYLE=\"text-decoration: none\">$topic_title</a>";


Am i missing something really obvious ???
Find all posts by fuzioneerView user's profileSend private message
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Thu Nov 13, 2003 8:39 pm Reply with quoteBack to top

fuzioneer,
Do this inside of the block code to convert it over to GT. Hope that helps you out.

Find:
Code:

<A HREF=\"modules.php?name=Forums&file=profile&mode=viewprofile&u=$uid\"STYLE=\"text-decoration: none\">

Replace With:
Code:

<A HREF=\"forums-profile-viewprofile-u-$uid.html\"STYLE=\"text-decoration: none\"> $uname </a>

Find:
Code:

<A HREF=\"modules.php?name=Forums&file=profile&mode=viewprofile&u=$uid\"STYLE=\"text-decoration: none\"> $uname </a>";

Replace With:
Code:

<A HREF=\"forums-profile-viewprofile-u-$uid.html\"STYLE=\"text-decoration: none\"> $uname </a>";

Find:
Code:

<a href=\"modules.php?name=Forums&amp;file=viewtopic&amp;p=$topic_last_post_id#$topic_last_post_id\"STYLE=\"text-decoration: none\">

Replace With:
Code:

<a href=\"postp=$topic_last_post_id.html#$topic_last_post_id\"STYLE=\"text-decoration: none\">

Find:
Code:

<a href=\"modules.php?name=Forums\">

Replace With:
Code:

<a href=\"forums.html\">


P3ter,
I realize there have been huge problems with forum mods and GT, some problems have left certain site owners very frustrated. I have taken this into account and the next version will alleviate the need to code every piece of the forum. Using "smarter" regular expressions and not just grab-all conversions will help weed out the regular forum code from the forum module and not convert uneeded links. The beta should be out shortly of this next step in GT development codenamed "GT NExtGEn" stay tuned! For now, you can uninstall the Forum-related code, refer back to the default code in the CVS, or try to deal with it. I know it is a big pain, but this is a growing process for many of us, mainly me, and I appreciate everyone's patience. Stay tuned for the "GT NExtGEn" it will be worth the wait, hopefully Wink

_________________
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 Nov 13, 2003 10:08 pm Reply with quoteBack to top

BTW, Audioslaved, will this GT-NG distro solve the right-block problem? I mean, in my site, all right blocks are not tapped. I don't want to play around with each block, so I leave them currently as-is.

- 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 Nov 13, 2003 10:25 pm Reply with quoteBack to top

irving, the GT-NG is an architectual upgrade meant to make GT module-based in order to cut down the resource time of duration constant preg_replaces for huge arrays.
This unfortunately means that blocks are not going to be supported, unless of course the block is correspondant to the module that is loaded. I know this is bad for some, but I plan on setting up a site soon, where developers and members can work together on providing module downloads, pre-converted block downloads. I started a thread some time ago, of what blocks people would like to see included in the distro (meaning tapped), and recieved 0 replies to my knowledge. If you are interested in having your blocks converted, find that thread and put a few in there, preferably with the link you downloaded it from. Others like you and I can convert these, and hopefully GT will catch on to the point where a seperate site will be necessary to archive and provide downloads for GT-related files, tutorials, and downloads.

_________________
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
XEULAS
Captain
Captain


Joined: Oct 20, 2003
Posts: 335


PostPosted: Fri Nov 14, 2003 7:47 am Reply with quoteBack to top

So essentially you want him to put a space after the

&

in his code posts, so that what comes after the & actually shows up in the post. Yes?
Find all posts by XEULASView 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: Fri Nov 14, 2003 1:22 pm Reply with quoteBack to top

Xeulas,
Man you made that sound so much easier, lol! Thx

_________________
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
Ronin
Nuke Soldier
Nuke Soldier


Joined: Jun 08, 2003
Posts: 30


PostPosted: Fri Nov 14, 2003 4:59 pm Reply with quoteBack to top

Audioslaved,

I'm sure it is just "&" (no space).

_________________
Cheers,
Ronin
Find all posts by RoninView user's profileSend private message
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Fri Nov 14, 2003 6:33 pm Reply with quoteBack to top

Ronin,
I'm sorry about that, here is what you needed:

Put these statements at above all your other forum entries in the header.php and in the .htaccess.

header.php
Code:

"'(?<!/)modules.php\?name=Forums&file=profile&mode=signature&id=(current|preview)_sig'",

"\\1_sig.html",


.htaccess
Code:

RewriteRule ^(current|preview)_sig.html modules.php?name=Forums&file=profile&mode=signature&id=$1_sig


Hope that works for you Ronin, let me know, alright?

-Bill (Audioslaved)

_________________
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
XEULAS
Captain
Captain


Joined: Oct 20, 2003
Posts: 335


PostPosted: Sat Nov 15, 2003 9:36 am Reply with quoteBack to top

Im starting to get a handle on all this (reading php&mysql for dummies). Its noon here, but I'm having trouble keeping my eyes open so I probably missed this... I was wondering....

My forums block (which is the default, not the scrolling) has the & amp; (space between & amp; put there by me just now for display purposes) in it, but the googletapped .html files dont. (so they dont go to the actual posts, but the forum index). Which associated file should I look at to make the GT'd html files point to the actual form post?
Find all posts by XEULASView 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: Sat Nov 15, 2003 2:08 pm Reply with quoteBack to top

Well, just look at the URL, I am sure it is something like the below with or without the amp;s correctly done.
Code:

modules.php?name=Forums&file=viewtopic&t=$topic

What you will do is convert your long url to the .html equivalent that is used in the .htaccess, so instead of it looking like
Code:

<a href=\"modules.php?name=Forums&file=viewtopic&p=$topic_id">

You want to change it to look like
Code:

<a href=\"postp$topic_id.html\">

The above are just examples but should kinda give you an idea of what I mean, read my tutorial on converting blocks to .html for guidance, it will explain it a little better. I am trying to stress that blocks be converted manually inside the block. There is no reason to have these conversions run on the blocks, there is usually only 2 or 3 URL's in a block anyways. Plus the NExtGEn will not be forgiving to blocks for those who decide to use it.

Try out the tutorial with the forum block and let me know how you end up, if it leaves you confused, just let me know what you did and how far you got, I will walk you through some steps, and the end product will be you having the knowledge to do this without assistance as well as being able to help others and help spread that knowledge.

_________________
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
Ronin
Nuke Soldier
Nuke Soldier


Joined: Jun 08, 2003
Posts: 30


PostPosted: Sat Nov 15, 2003 7:18 pm Reply with quoteBack to top

Audioslaved wrote:
Ronin,
I'm sorry about that, here is what you needed:

Put these statements at above all your other forum entries in the header.php and in the .htaccess.

header.php
Code:

"'(?<!/)modules.php\?name=Forums&file=profile&mode=signature&id=(current|preview)_sig'",

"\\1_sig.html",


.htaccess
Code:

RewriteRule ^(current|preview)_sig.html modules.php?name=Forums&file=profile&mode=signature&id=$1_sig


Hope that works for you Ronin, let me know, alright?

-Bill (Audioslaved)



Bill,

I added all of the above but the first one seems to break the forums. I added all of them and received the bad URL below. If I comment out the others but have this it works. If I just add:

Code:
"'(?<!/)modules.php\?name=Forums&file=profile&mode=signature&id=(current|preview)_sig'",


I get this bad URL:

Code:
http://atvfrontier.com/postx4--.html

_________________
Cheers,
Ronin
Find all posts by RoninView user's profileSend private message
Ronin
Nuke Soldier
Nuke Soldier


Joined: Jun 08, 2003
Posts: 30


PostPosted: Sat Nov 15, 2003 7:23 pm Reply with quoteBack to top

Never mind Bill, my bad, the changes work great. The key is that the new entries need to have the same offset into the 2 arrays in header.php. I thought I was adding the new lines to the start of the forum "sections" but apparently I wasn't.

Simply making them the first items in the arrays fixed everything.

Thanks again for this great mod and your fantastic support.

_________________
Cheers,
Ronin
www.atvfrontier.com
Find all posts by RoninView user's profileSend private message
XEULAS
Captain
Captain


Joined: Oct 20, 2003
Posts: 335


PostPosted: Sun Nov 16, 2003 6:18 am Reply with quoteBack to top

HI. I read the tutorial. Totally confused right from the start, but its obviously because it is beyond my current understanding of php/mysql/GT. Didn't even try to change anything so I can't give you any steps as I'm on step 0 (smile). I can live with the forum problem for now (noone uses my forums but me anyway). I'll keep reading my php/sql dummy book and im sure it will make sense eventually.
Find all posts by XEULASView user's profileSend private messageVisit 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.262 Seconds - 352 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::