vBulletin mod_rewrite

Reply

Join Date: Oct 2004
Posts: 16
Reputation: Natch is an unknown quantity at this point 
Solved Threads: 0
Natch Natch is offline Offline
Newbie Poster

Re: vBulletin mod_rewrite

 
0
  #141
Oct 25th, 2004
Have you modified any vBulletin PHP script files, or any templates?
Natcher00 ... is the Admin @ MobileForces.org - Official Community for a cult Vehicle based FPS - the only place for support!
[vB.org] PNG24 transparency with IE * DaniWeb: mod_rewrite your vB
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 16
Reputation: Natch is an unknown quantity at this point 
Solved Threads: 0
Natch Natch is offline Offline
Newbie Poster

Re: vBulletin mod_rewrite

 
0
  #142
Oct 25th, 2004
Originally Posted by The Equivocate
I noticed that when you go to click on the latest post, the target url is "newpostinthread3.html" but when you click it, it links you to "showthread.php?p=3#post3" so did I do something wrong? Yet when you are viewing the forum and click on that thread, it shows "thread3.html"

And also, I want to fix the Online Location problem, but Natch's solution was too hard for me to figure out, so is there an easier way? Or one that goes into more detail so I can figure it out?
http://www.daniweb.com/tutorials/12725.html
Natcher00 ... is the Admin @ MobileForces.org - Official Community for a cult Vehicle based FPS - the only place for support!
[vB.org] PNG24 transparency with IE * DaniWeb: mod_rewrite your vB
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 2
Reputation: MaTriX is an unknown quantity at this point 
Solved Threads: 0
MaTriX MaTriX is offline Offline
Newbie Poster

Re: vBulletin mod_rewrite

 
0
  #143
Oct 29th, 2004
hello,

can someone tell me what´s the differences between Dani´s Tutorial and Keith´s Tutorial?

greetz MaTriX
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,043
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 128
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: vBulletin mod_rewrite

 
0
  #144
Oct 29th, 2004
I originally started with my tutorial. Then Ted S expanded on my ideas. Then Keith took my original tutorial, and combined it with Ted's ideas, and put it all together as a new tutorial.
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 5
Reputation: Thomas P is an unknown quantity at this point 
Solved Threads: 0
Thomas P Thomas P is offline Offline
Newbie Poster

Re: vBulletin mod_rewrite

 
0
  #145
Oct 30th, 2004
What about sessionid in URLs, aren't they got lost resulting in only cookie-users can login?
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 2
Reputation: MaTriX is an unknown quantity at this point 
Solved Threads: 0
MaTriX MaTriX is offline Offline
Newbie Poster

Re: vBulletin mod_rewrite

 
0
  #146
Oct 30th, 2004
Originally Posted by cscgal
I originally started with my tutorial. Then Ted S expanded on my ideas. Then Keith took my original tutorial, and combined it with Ted's ideas, and put it all together as a new tutorial.
Thank you!

I have tested this hack, but when I upload the ".htaccess" I get an "Error 500". What does this mean? What should I do?

Greetz MaTriX
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 3
Reputation: fate is an unknown quantity at this point 
Solved Threads: 0
fate fate is offline Offline
Newbie Poster

Re: vBulletin mod_rewrite

 
0
  #147
Nov 10th, 2004
ok, got it to work.
now, when i was going through the tutorial:
Find all instances of:

PHP Code:
<a href="showthread.php?$session[sessionurl]t=$threadid\" title=\"$threadpreview\">$threadtitle</a>

And replace with:

PHP Code:
<a href="t$threadid-" .mod_rewrite_title($threadtitle). ".html\" title=\"$threadpreview\">$threadtitle</a>

Find all instances of:

PHP Code:
<a href="forumdisplay.php?$session[sessionurl]f=$forumid\">$forumtitle</a>

And replace with:

PHP Code:
<a href="f$forumid-" .mod_rewrite_title($forumtitle). ".html\">$forumtitle</a>
couldn't find any of those instances in my functions_online.php
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 34
Reputation: TraderX is an unknown quantity at this point 
Solved Threads: 0
TraderX's Avatar
TraderX TraderX is offline Offline
Light Poster

Re: vBulletin mod_rewrite

 
0
  #148
Nov 10th, 2004
Question... I have not installed v3 Articles 1.0.1 - [vB 3.0.1] or vB Journal3.0.3(v1.0.0) yet but I would like to know if it will do a mod_rewrite for them as well? Sorry if this is a dumb question... no clue how they work without the install yet
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 16
Reputation: Natch is an unknown quantity at this point 
Solved Threads: 0
Natch Natch is offline Offline
Newbie Poster

Re: vBulletin mod_rewrite

 
0
  #149
Nov 11th, 2004
Originally Posted by MaTriX
Thank you!

I have tested this hack, but when I upload the ".htaccess" I get an "Error 500". What does this mean? What should I do?

Greetz MaTriX
You should check over every edit you have made in your .htaccess file: if you make the slightest mistake, errors in this file will cause a 500 Internal Server Error
Originally Posted by TraderX
Question... I have not installed v3 Articles 1.0.1 - [vB 3.0.1] or vB Journal3.0.3(v1.0.0) yet but I would like to know if it will do a mod_rewrite for them as well? Sorry if this is a dumb question... no clue how they work without the install yet
OK - any hack can be recoded to work along the same lines as this one: for the person thqt asked, I have done vBadvanced CMPS modules to work with this standard, and it works well... (www.mobileforces.org for a working demo) - other hacks similarly...
Natcher00 ... is the Admin @ MobileForces.org - Official Community for a cult Vehicle based FPS - the only place for support!
[vB.org] PNG24 transparency with IE * DaniWeb: mod_rewrite your vB
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 3
Reputation: fate is an unknown quantity at this point 
Solved Threads: 0
fate fate is offline Offline
Newbie Poster

Re: vBulletin mod_rewrite

 
0
  #150
Nov 11th, 2004
it's been a long time since the [Revised] vBulletin Mod_rewrite Tutorial has been published, and nobody has noticed an error in it. weird. anyway, in the File Edits part there are 2 mistakes:
  1. Find all instances of:
  2.  
  3. PHP Code:
  4. <a href="showthread.php?$session[sessionurl]t=$threadid\" title=\"$threadpreview\">$threadtitle</a>
  5.  
  6. And replace with:
  7.  
  8. PHP Code:
  9. <a href="t$threadid-" .mod_rewrite_title($threadtitle). ".html\" title=\"$threadpreview\">$threadtitle</a>
  10.  
  11. Find all instances of:
  12.  
  13. PHP Code:
  14. <a href="forumdisplay.php?$session[sessionurl]f=$forumid\">$forumtitle</a>
  15.  
  16. And replace with:
  17.  
  18. PHP Code:
  19. <a href="f$forumid-" .mod_rewrite_title($forumtitle). ".html\">$forumtitle</a>
  20.  
should be
Find all instances of:

PHP Code:
<a href=\"showthread.php?$session[sessionurl]t=$threadid\" title=\"$threadpreview\">$threadtitle</a> 

And replace with:

PHP Code:
<a href="t$threadid-" .mod_rewrite_title($threadtitle). ".html\" title=\"$threadpreview\">$threadtitle</a> 

Find all instances of:

PHP Code:
<a href=\"forumdisplay.php?$session[sessionurl]f=$forumid\">$forumtitle</a> 

And replace with:

PHP Code:
<a href="f$forumid-" .mod_rewrite_title($forumtitle). ".html\">$forumtitle</a>
please edit the tutorial.

now a question. i wanted my forum links to look a bit different, so instead of using
<a href="t$threadid-" .mod_rewrite_title($threadtitle). ".html\" title=\"$threadpreview\">$threadtitle</a>
and
<a href="f$forumid-" .mod_rewrite_title($forumtitle). ".html\">$forumtitle</a>
i used
<a href=\"thread/$threadid\" title=\"$threadpreview\">$threadtitle</a>
and <a href=\"forum/$forumid\">$forumtitle</a>
so all my links to threads would look like thread/[threadid] and the links to forums would look like forum/[forumid]. however, in the Who's Online if i am viewing some forum, for example with id of 1, in the location column it says "Unknown Location /forum/1". it shows the threads fine, but not forums for some weird reason. any help there?

regards.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC