vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   End-User Options - Favorite Smilies (https://vborg.vbsupport.ru/showthread.php?t=123116)

Maagic 08-22-2006 02:18 PM

Installed and working however the [More] link in the smilies window does not appear now. Is there any way to get that back?

Darwinist 08-22-2006 03:31 PM

Quote:

Originally Posted by Maagic
Installed and working however the [More] link in the smilies window does not appear now. Is there any way to get that back?

Sounds like you skipped the second part of step #1, editting the 'includes/functions_editor.php' file. It's a change to the '$show['moresmilieslink']' variable.

Maagic 08-22-2006 11:36 PM

Quote:

Originally Posted by Darwinist
Sounds like you skipped the second part of step #1, editting the 'includes/functions_editor.php' file. It's a change to the '$show['moresmilieslink']' variable.

No I did edit that file, but I may have done it incorrectly. Me go check now... TY!


(cool mod btw... my users love it!)

Maagic 08-23-2006 12:39 AM

Hmm I re-checked my functions_editor.php file and I DID make the proper edit, yet I still don't see the [More] part. This is in Firefox btw... I checked it in IE and it shows [] just like in Firefox but I can click on the ] and get the smilies window. Weird.

Darwinist 08-23-2006 03:50 AM

Double check that you have the changes to the 'editor_smiliebox' template exactly as they should be.

If you don't mind, can you post a link to your forum so I can check out the problem?

Maagic 08-23-2006 12:59 PM

Quote:

Originally Posted by Darwinist
Double check that you have the changes to the 'editor_smiliebox' template exactly as they should be.


Ahh that was it... I left out one of these

<

Apparently they're quite necessary to the code :)

Darwinist 08-23-2006 01:25 PM

:up:

scoles15 08-27-2006 01:05 AM

Ok, I'm lost. Everything is installed and everything has been double checked.

It all seems to work. Only one small problem. The smilie box is not the ones chosen. It is my sites' standard set of smilies. I've checked the DB and the new fields are there with my selected smilies in the correct field. So I am at a loss.

The only Thing I've noticed is that in the code and templates, whether or not the custom set is shown, depends on whether or not the value of $vbulletin->userinfo['favsmilies'] is set. I can't find in the code where it is set to the value in the DB and when I display the value in a template, it is null.

scoles15 08-27-2006 01:46 PM

Quote:

Originally Posted by scoles15
Ok, I'm lost. Everything is installed and everything has been double checked.

NEVER MIND! I re-did all the manual edits and now all is working. Wonderful hack!!!

But I still don't understand How it works. Where does value of $vbulletin->userinfo['favsmilies'] get set. As far as I know simply adding a new field to the user table does not get the value automatically loaded into the userinfo array

Darwinist 08-27-2006 05:07 PM

Any field you add to the user table is loaded into the userinfo cache.


All times are GMT. The time now is 06:15 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.01381 seconds
  • Memory Usage 1,740KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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