vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   favorites smilies (https://vborg.vbsupport.ru/showthread.php?t=54257)

gmarik 06-14-2003 05:42 AM

great, great , great

all-the-vb 06-14-2003 06:08 PM

@kevinnguyen
that's work 100%

---
@gmarik
:) welcome , welcome , welcome :)

lordofgun 06-15-2003 02:58 AM

Would be great if it could work with random smilies hack.

all-the-vb 06-15-2003 03:08 AM

Quote:

Would be great if it could work with random smilies hack.
ya

@kie & @lordofgun


PHP Code:

if($bbuserinfo[smilie] ==''){ 
$smilies=$DB_site->query("SELECT smilieid,smilietext,title,smiliepath FROM smilie"); 
}else{ 
$nabn explode(" "$bbuserinfo['smilie']); 
$smilies=$DB_site->query("SELECT smilieid,smilietext,title,smiliepath FROM smilie WHERE smilieid IN (" implode(","$nabn) . ")"); 
eval (
"\$vbcode_smilies_editfav = \"".gettemplate("vbcode_smilies_editfav")."\";"); 


Replace it with:
PHP Code:

if($bbuserinfo[smilie] ==''){
$smilies=$DB_site->query("SELECT smilieid,smilietext,title,smiliepath FROM smilie ORDER BY RAND()");
}else{
$nabn explode(" "$bbuserinfo['smilie']);
$smilies=$DB_site->query("SELECT smilieid,smilietext,title,smiliepath FROM smilie WHERE smilieid IN (" implode(","$nabn) . ")ORDER BY RAND()");
eval (
"\$vbcode_smilies_editfav = \"".gettemplate("vbcode_smilies_editfav")."\";");



Cyricx 06-17-2003 11:54 AM

O rock!!

Thank you so very much, I can't wait to try this out on my board :)

:) :)

all-the-vb 06-18-2003 03:28 PM

@Cyricx
welcome :)
don't forgot click install if you use this hack. ;)

Konrad0 06-21-2003 05:38 AM

i tried to install it.. i all done like it stands in de readme-file but when i click "favourite smileys" (misc.php?action=getfavsmilie) than nothing happend.. its just a white blank page :(


what did i wrong?

ps. sorry for my bad english :)

all-the-vb 06-21-2003 05:06 PM

edit misc.php in the vb folder
not misc.php in admin

M.C. 06-24-2003 07:33 PM

same with me... i did all same, but it`s not work..

i can choose favorite smilies, but then nothing happends:

https://vborg.vbsupport.ru/attachmen...&postid=408308

not apear and i still have this:

https://vborg.vbsupport.ru/attachmen...&postid=408305

i did

ALTER TABLE `user` ADD `smilie` TEXT NOT NULL;

and all other instructions....

one question - you saying: "open File: misc.php" - which one? forum/misc.php or forum/admin/misc.php ?

all-the-vb 06-24-2003 09:03 PM

forum/misc.php


All times are GMT. The time now is 07:54 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.01111 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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