The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
FOR PROPER MLA "WORKS CITED" PAGE, PLEASE VIEW ON A 1024 BY 768 BROWSER--non-breaking spaces in use!
Because many search engines and bots of popular search engines (such as google) do not index URLs with "?," could there be an option to change the "?" to a "/"? Like a URL would look like "http://www.vbulletin.com/forum/showthread.php/s.(sessionid)/threadid.17767.html" instead of becoming "http://www.vbulletin.com/forum/showthread.php?s=&threadid=17767." There is an example in a reference book I have: <?php &n bsp; // Code from Core PHP Programming (Atkinson 715). &n bsp; /* &n bsp; ** Pull message ID from $PATH_INFO &n bsp; */ &n bsp; if ($PATH_INFO != "") &n bsp; { &n bsp; ereg("^/([[:digit:]]+)(.*)$", $PATH_INFO, $match); &n bsp; $ID = $match[1]; &n bsp; } &n bsp; else &n bsp; { &n bsp; $ID = 0; &n bsp; } &n bsp; print("You are viewing message $ID<br>\n"); &n bsp; // pick a random ID &n bsp; $nextID = rand(1, 1000); &n bsp; print ("<a href=\"$SCRIPT_NAME/$nextID.html\">View Message $nextID</a><BR>\n"); ?> &n bsp; &nbs p; &n bsp; &nbs p; &n bsp; Works Cited &n bsp; Atkinson, Leon. Core PHP Programming. 2nd ed. Upper Saddle River: &n bsp; Prentice Hall, 2001. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|