vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Smilies not showing up correctly (https://vborg.vbsupport.ru/showthread.php?t=230100)

bluidkiti 12-13-2009 11:46 AM

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/')
And how do I do this? I tried putting the code above in admincp in the Execute SQL Query section in the Manuel Query box but that didn't work.

bluidkiti 12-13-2009 12:25 PM

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:


UPDATE smilie set smiliepath=replace(smiliepath, 'http://www.yoursite.com/images/', 'images/')

I needed to take forums/ out. They are working now.

JMEWLS` 12-13-2009 07:54 PM

What file did you have to edit? I have the same problem.

Lynne 12-13-2009 07:59 PM

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.

JMEWLS` 12-13-2009 08:37 PM

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
I executed a code like follows...

Code:

UPDATE smilie set smiliepath=replace(smiliepath, 'http://www.nbadimensions.net/forums/http://www.nbadimensions.net/forums/http://www.yoursite.com/images', 'images/')
That correct?

Lynne 12-13-2009 09:14 PM

That looks OK to me.

JMEWLS` 12-13-2009 10:18 PM

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

BBR-APBT 12-13-2009 10:23 PM

Quote:

Originally Posted by JMEWLS` (Post 1930138)
I executed a code like follows...
Code:

UPDATE smilie set smiliepath=replace(smiliepath, 'http://www.nbadimensions.net/forums/http://www.nbadimensions.net/forums/http://www.yoursite.com/images', 'images/')
That correct?

Quote:

Originally Posted by JMEWLS` (Post 1930175)
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

Thats because thats what you told it to do.

Your code should be as follows.

Code:

UPDATE smilie set smiliepath=replace(smiliepath, 'http://www.nbadimensions.net/forums/images/', 'images/')

JMEWLS` 12-13-2009 10:36 PM

Interesting still not working.

I can execute the query in vbulletin can't I?

BBR-APBT 12-13-2009 10:40 PM

You sure can long as you have permission in the config.


All times are GMT. The time now is 06:53 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
  • Page Generation 0.01073 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete