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)

JMEWLS` 12-13-2009 10:42 PM

Well I do have permission. I wonder why it isn't working.

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

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/')
Make sure you clear your cache before you refresh.
Then tell me what the path is when you view the source.

JMEWLS` 12-13-2009 11:29 PM

Still have this link:

Code:

http://www.nbadimensions.net/forums/http://www.nbadimensions.net/forums/http://www.yoursite.com/images/smilies/spy.gif

Lynne 12-13-2009 11:37 PM

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.

JMEWLS` 12-13-2009 11:42 PM

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/')
--------------- Added [DATE]1260755295[/DATE] at [TIME]1260755295[/TIME] ---------------

Yup, confirmed. Got it fixed.

:)

bluidkiti 12-17-2009 10:43 AM

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/')
Replace this part http://www.yoursite.com/forums/images/ of the code above with what the link is for your smilies.

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.

viganothing 01-07-2010 07:20 AM

Thanks bluidkti it worked on my forum :)


All times are GMT. The time now is 12:56 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.01026 seconds
  • Memory Usage 1,728KB
  • 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
  • (4)bbcode_code_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
  • (7)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