The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
What would be the easiest way to update a table column where all values are not the same
I have all avatars as "images/avatar/avname.jpg" and I simply want to change the path to "/forums/images/avatar/avname.jpg" or let me rephrase it. How would I go about adding a prefix to all values in that column like: /forums/ |
#2
|
||||
|
||||
![]()
vB?
PHP Code:
I don't think this is a good idea though. Don't you think that this might causes problems in the forum? |
#3
|
|||
|
|||
![]()
thank you. What problems are you anticipating?
|
#4
|
||||
|
||||
![]()
Well the forum software (being installed in /forum/) would pull the images from /images/avatar/. Now that you change the path, it would attempt to get the images from /forum/forum/images/avatar/. And that would probably fail.
EDIT: Nevermind. If you put the slash at the beginning of the path it should work. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|