How can I change the smilies directory?
Change Smilies Directory
Collapse
X
-
Tags: None
-
You would have to edit every smilie in your:
Admin CP -> Smilies -> Smilie Manager
An alternative is to run a query to update all smilie paths at once. This query should work (backup first):
Code:UPDATE smilie SET smiliepath = REPLACE(smiliepath,'[color=red]old path[/color]','[color=blue]new path[/color]')
Code:images/smilies/<name>.gif
Code:images/newsmilies/<name>.gif
Code:UPDATE smilie SET smiliepath = REPLACE(smiliepath,'[color=red]/smilies/[/color]','[color=blue]/newsmilies/[/color]')
-
Currently I have 3 smilies folders.
Generic: images/smilies/
Custom1: images/smilies/custom1/
Custom2: images/smilies/custom2/
I want to leave the Generic Smilies in the default folder.
But I want to move custom1 and custom2 to a external folder outside the vbulletin folder.
/forumcustom/images/custom1/
/forumcustom/images/custom2/
I tried to edit a smilie and I used this path ../forumcustom/images/custom1/smile.gif
I was able to see the smile appearing.
How should I go about updating all the path? I have hundreds of them.Last edited by Byron; Mon 22 Jan '07, 11:14pm..Comment
-
You can use the query from my previous post. Just change the colored pieces to specify the old and new path. Run multiple queries for different old paths.Comment
-
Jake,
I see that the smiliepath is relative to the vbulletin installation.
If I want to move from "/public_html/forum/images/smilies/custom1/" to "/public_html/forumcustom/images/custom1/" which is outside the vbulletin installation, what should I write for the new path?
Thanks a lot Jake..Comment
-
Use the full and complete path:
/public_html/forumcustom/images/custom1/Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
Change CKEditor Colors to Match Style (for 4.1.4 and above)
Steve Machol Photography
Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.
Comment
-
Normally you would use a full web path. For example, the full web path corresponding to this URL:
http://www.yoursite.com/some/image/directory/
...is:
/some/image/directory/
Note the beginning slash.Comment
Related Topics
Collapse
-
by humptyI uploaded a bunch of new smilies to the images directory in a new folder titled smilies2 - I did this in both the root images folder and in the core images folder.
In the AdminCP I went...-
Channel: Support Issues & Questions
-
Comment