Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-13-2009, 11:46 AM
bluidkiti bluidkiti is offline
 
Join Date: Dec 2006
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Smilies not showing up correctly

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.
Reply With Quote
  #2  
Old 12-13-2009, 12:25 PM
bluidkiti bluidkiti is offline
 
Join Date: Dec 2006
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 12-13-2009, 07:54 PM
JMEWLS` JMEWLS` is offline
 
Join Date: Dec 2007
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What file did you have to edit? I have the same problem.
Reply With Quote
  #4  
Old 12-13-2009, 07:59 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 12-13-2009, 08:37 PM
JMEWLS` JMEWLS` is offline
 
Join Date: Dec 2007
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #6  
Old 12-13-2009, 09:14 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That looks OK to me.
Reply With Quote
  #7  
Old 12-13-2009, 10:18 PM
JMEWLS` JMEWLS` is offline
 
Join Date: Dec 2007
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #8  
Old 12-13-2009, 10:23 PM
BBR-APBT's Avatar
BBR-APBT BBR-APBT is offline
 
Join Date: Feb 2009
Location: Maryland
Posts: 946
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JMEWLS` View Post
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` View Post
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/')
Reply With Quote
  #9  
Old 12-13-2009, 10:36 PM
JMEWLS` JMEWLS` is offline
 
Join Date: Dec 2007
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting still not working.

I can execute the query in vbulletin can't I?
Reply With Quote
  #10  
Old 12-13-2009, 10:40 PM
BBR-APBT's Avatar
BBR-APBT BBR-APBT is offline
 
Join Date: Feb 2009
Location: Maryland
Posts: 946
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:40 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
  • Page Generation 0.04770 seconds
  • Memory Usage 2,268KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (8)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete