![]() |
Smilies not showing up correctly
1 Attachment(s)
Since I have upgraded to VB4 RC2 I am having problems with the smilies. When you go to post a new thread/pms or reply smilies are showing up as BB Code to the right. Shown in images below:
Attachment 107469 Attachment 107470 I have hundreds of smilies and was trying to do this so as not to have to change the path for each one. Where do I put: Code:
UPDATE smilie set smiliepath=replace(smiliepath, 'http://www.yoursite.com/forums/images/', 'images/') |
I finally figured out why it was not working. I don't have my forum in a "forums" folder. I have it on the domain itself. So I needed to run it like this:
Code:
|
What file did you have to edit? I have the same problem.
|
He edited the database. There are a couple of threads on vb.com about this - you should look over there for help with this issue.
|
Gr, I was stupid enough to do the "yoursite" part of the code and not change it. My images on the right now have a link looking like this;
Code:
http://www.nbadimensions.net/forums/http://www.nbadimensions.net/forums/http://www.yoursite.com/images/smilies/iono.gif Code:
UPDATE smilie set smiliepath=replace(smiliepath, 'http://www.nbadimensions.net/forums/http://www.nbadimensions.net/forums/http://www.yoursite.com/images', 'images/') |
That looks OK to me.
|
Weird, still coming up with this link:
Code:
http://www.nbadimensions.net/forums/http://www.nbadimensions.net/forums/http://www.yoursite.com/images/smilies/Cry.gif |
Quote:
Quote:
Your code should be as follows. Code:
UPDATE smilie set smiliepath=replace(smiliepath, 'http://www.nbadimensions.net/forums/images/', 'images/') |
Interesting still not working.
I can execute the query in vbulletin can't I? |
You sure can long as you have permission in the config.
|
Well I do have permission. I wonder why it isn't working.
|
Do this:
Code:
UPDATE smilie set smiliepath=replace(smiliepath, 'http://www.nbadimensions.net/forums/http://www.nbadimensions.net/forums/http://www.yoursite.com/images/smilies', 'images/') Then tell me what the path is when you view the source. |
Still have this link:
Code:
http://www.nbadimensions.net/forums/http://www.nbadimensions.net/forums/http://www.yoursite.com/images/smilies/spy.gif |
Check the actual database and see what is really in there. Perhaps part of the link is being added when the page is parsed and isn't actually in the database like that.
|
The path is the same.
http://www.nbadimensions.net/forums/...s/rolleyes.gif --------------- Added [DATE]1260755186[/DATE] at [TIME]1260755186[/TIME] --------------- Ahh wait, had to use this code. Code:
UPDATE smilie set smiliepath=replace(smiliepath, 'http://www.nbadimensions.net/forums/http://www.yoursite.com/images/smilies', 'images/smilies/') Yup, confirmed. Got it fixed. :) |
For future reference for anyone, when you run the query you enter this code:
Code:
UPDATE smilie set smiliepath=replace(smiliepath, 'http://www.yoursite.com/forums/images/', 'images/') A couple of examples to put in that: http://www.yoursite.com/forums/images/ http://www.yoursite.com//forums/images/ http://www.yoursite.com/images/ http://www.yoursite.com//images/ http://www.yoursite.net/forums/http:...te.net/images/ Whatever it is saying is the path for your smilies, put it in there. **To run a query, go to your admincp. Go to Maintenance>>Execute SQL Query. Enter code in the big white box beside Manual Query and click on continue. **If you can't run a query, then you need to set yourself with permission to do so in the config.php file. |
Thanks bluidkti it worked on my forum :)
|
All times are GMT. The time now is 03:28 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:
|