![]() |
changing 'forumid=' to 'id='
i know that involves alot of changes in files.. but here it is my question:
if i change everywhere in all files 'forumid' with 'id' (including tables) and run a clean install, everything should be the same right? is it recommended? i know the upgrades will be a little painful but that's why we have araxis right? :) let me know if it's a good idea... |
It's a bad idea. It sounds easy in theory, but it's not really. You have to go through each file, replacing forumid with id. But that's not enough, you also need to make sure no variables are overwritten ($id is more than likely already used in vBulletin).
If you only want to change the way it's displayed in links, there's a much easier way... |
yep, it is a VERY bad idea. it messes the $iforumcache. i just tried.. :)
replacing it in files was not a prob, it took me 10secs... Quote:
can you teach me? thanks. |
In theory, something like this in global.php:
PHP Code:
|
hmm that wont do it... it will still show in the url forumid=...
it doesnt matter, i dont care anymore. :) less probs when you have less changes... thanks for your help chen. |
Well of course, you must edit the templates to pass id instead of forumid through the URL. That bit of code just makes sure (at least most of) the PHP scripts works.
|
All times are GMT. The time now is 08:31 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|