The code change in the Sessions.php for GoogleTap Installation.. Are they necessary and what exactly does it do???
I forgot to install it but everything seems to work fine.... so thats why i ask..
Code:
------------------------------------------------------
# Find the following block of code in the append_sid function
block. (May not exist if using newer versions of PHP-NUKE) #
------------------------------------------------------
---------------------------------------------------------------------
# Create a new function after the append_sid function by adding the
following code: Please refer to included sessions.php as a reference. #
---------------------------------------------------------------------
well the code below does not even exist in the function so is it even revelant??
Code:
- Open includes/Sessions.php
------------------------------------------------------
# Find the following block of code in the append_sid function
block. (May not exist if using newer versions of PHP-NUKE) #
------------------------------------------------------
---------------------------------------------------------------------
# Create a new function after the append_sid function by adding the
following code: Please refer to included sessions.php as a reference. #
---------------------------------------------------------------------
Joined: Aug 29, 2004 Posts: 7582 Location: Arizona
Posted:
Fri May 19, 2006 5:45 am
Those changes are there to help ensure that these search engine bots do not cache the phpBB session ID in the URLs. I am going to start working on integrating GTNG into RavenNuke76 this weekend and next week (I have only an hour max each day to do anything anymore!), so, I'll let you know what I find. GTNG was done on a very old phpBB version so not sure how that code applies anymore...
well you seem to know what you are doing so cant wait to see what you come up with.. i am understanding it more as i got most of my site GT thanks to your great Tweak Also..
i have a Javascript menubar on my site with the links hardcoded with the Original links... any advice on how to get them to change with out hardcoding them?
Only registered users can see links on this board! Get registered or login to the forums!
look at the menu bar with the Forums, MMA Links, Reviews, Etc..
Joined: Aug 29, 2004 Posts: 7582 Location: Arizona
Posted:
Wed May 24, 2006 6:05 am
First of all, great site!! Second, with regard to "tapping" of the site contents, the key is to do a View Source on your final generated page. Essentially, what is happening is the urlin() statements must find a match within that source in order to adjust it. It does this by bufferring the generated output until close to the end, then does the search/replace, and finally flushes it out back to the requestor's browser.
I have looked at your "source" and you "may" be able to tap these. Had you tried to add the urlin/urlout lines for the individual module links that you have in this block?
Oh, key question, is the block where the JS is produced or somewhere else? That will determine where the urlin/out need to go.
Joined: Aug 29, 2004 Posts: 7582 Location: Arizona
Posted:
Wed May 24, 2006 10:57 pm
Maybe not. Each module "tap" could, theoretically, have these urlin/urlout lines added to address those. I have not done it yet and am instead working on another "hack" to allow the specific "tapping" of the header and footer. Again, will be a part of the next RavenNuke76.
Joined: Aug 29, 2004 Posts: 7582 Location: Arizona
Posted:
Tue May 30, 2006 6:04 am
montego wrote:
Maybe not. Each module "tap" could, theoretically, have these urlin/urlout lines added to address those. I have not done it yet and am instead working on another "hack" to allow the specific "tapping" of the header and footer. Again, will be a part of the next RavenNuke76.
BTW, I have this working now. You will be able to also create a page-level "tap file" to cover any additional links. RN76 2.10.00 goes into QA testing on June 15th.
Joined: Aug 29, 2004 Posts: 7582 Location: Arizona
Posted:
Wed May 31, 2006 3:04 pm
BTW, I am running a test on sessions.php. I had the GTNG code in there for my site but after further review of the code, I am not sure it is necessary anymore. I will let you know how that ends up.
View next topic View previous 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