![]() |
"Search and replace string" bug in v.225?
does anyone tried to search and replace a template string in v.225?
i tried this today and it didnt work. let me know please if this is a local issue or a bug. |
I tried it just today and it worked fine.
|
It only works for custom templates. (personally I find it useless)
|
i posted this 3 days ago at vB.com and nobody answered. so i decided to ask here also. while i was playing with my admin panel (in localhost) i tried the "search and replace" function. i replaced index.php with forums.php and reindexed all data. i also changed the following files:
- forumdisplay.php - global.php - member.php - online.php - register.php - admin\index.php - mod\index.php to match the new file name. when i went to the main page, the changes were not done. after that, i went again in the admin panel and did a simple search for "index.php", in templates. no changes were made. this was experienced on a vBulletin v2.2.5 clean install with no hacks or database mods. i personally think that almost nobody uses the function "search and replace" and that's why this bug was not detected. please let me know if it is a local issue, or a bug. thanks. NOTE: to fix this issue, i simply opened vbulletin.style and replaced all "index.php" strings, with a text editor.. to "forums.php". then i ran the step 6 from install.php. |
Quote:
is it possible that a dev can get this option to work properly? i find it usefull if you decide to customize the board in a different way. here it is an example: install the forums directly into the root and rename the index.php to forums.php (i know about .htaccess). or switch from .php3 to .php files. |
I believe it was fixed in vB3. That whole system was rewritten so I don't think they left it half-working.
Edit: nope, looks like it's still broken in vB3. |
thanks firefly. now since we are here talking about replacements, can anyone explain to me if vbulletin.style is needed in the /admin folder? the way i see it me to fix this problem is to have VB export the templates database contents to a similar file like vbulletin.style. then all we have to do is create a code addon in template.php that will grab that file and update the template table.
i did this so far, but i dont know how to import from the database all template data in the vbulletin.style format. maybe firefly can release a little addon to his TBS? ;) |
It's not a bug. It's not broken.
It has never searched non-custom templates because it would have to create a new template to do a replacement which opens up a whole can of worms in terms of what styles do you create them in, etc. |
thanks tubedogg. then you should change the search description. it's telling us that it searches in all templates.
|
All times are GMT. The time now is 03:21 PM. |
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:
|