Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
favorites smilies Details »»
favorites smilies
Version: 1.00, by all-the-vb all-the-vb is offline
Developer Last Online: Oct 2013 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 06-12-2003 Last Update: Never Installs: 11
 
No support by the author.

Hello Everyone.

hack : user favorites smilies

by All-the-vb

Description:
that's hack allow each member to choose his favorite smiles .. let's discover the other features guyz


Queries to Run: 1
Files to edit: 2
Templates to edit:2
Templates to add:4


i forgot this edit

open File: vb/admin/functions.php

find:
PHP Code:
function getclickysmilies () {
    global 
$DB_site,$session,$smcolumns
--
after that add :
PHP Code:
$bbuserinfo

Requested by:
Cyricx

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 06-26-2003, 09:58 PM
JoergZ JoergZ is offline
 
Join Date: Jun 2002
Location: Germany
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack.

I make it work for my 2.6.0 with this little modification: When editing the functions.php then add to the global-section 2 lines above:
PHP Code:
$bbuserinfo 
J?rg


P.S. Improvment suggestion: Add to the template vbcode_smilies_editfav the "more" link out of the template vbcode_smilies_getmore . Then you have still the possibility to choice other smilies then your favorites.
Reply With Quote
  #23  
Old 07-04-2003, 05:29 AM
Kwesi Kwesi is offline
 
Join Date: May 2002
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
06-24-03 at 09:33 PM M.C. said this in Post #19
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 ?
Im having a similar problem. I edited the misc.php in the root directory and it still won't work. when i submit my favorite smilies it returns me to my favorites page but nothing changes. i still have the normal list of icons. can you help?
Reply With Quote
  #24  
Old 07-04-2003, 12:44 PM
all-the-vb's Avatar
all-the-vb all-the-vb is offline
 
Join Date: Apr 2003
Location: Norwich,Uk
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Kwesi


i forgot this edit

open File: vb/admin/functions.php

find:
PHP Code:
function getclickysmilies () {
    global 
$DB_site,$session,$smcolumns
--
after that add :
PHP Code:
$bbuserinfo
Reply With Quote
  #25  
Old 07-18-2003, 12:58 AM
Ryne Ryne is offline
 
Join Date: Jun 2003
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a question what is this suppose to add? Does the favorite smileys show up in the clickable area or where?
Reply With Quote
  #26  
Old 07-18-2003, 01:51 AM
Ryne Ryne is offline
 
Join Date: Jun 2003
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
06-21-03 at 07:06 PM all-the-vb said this in Post #18
edit misc.php in the vb folder
not misc.php in admin

That's exactly what's happening to me. And i did put that extra in.
Reply With Quote
  #27  
Old 07-18-2003, 02:14 AM
Ryne Ryne is offline
 
Join Date: Jun 2003
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, it's me again. This is my exact situation...


I go to a posting page and I click [favorites smilies] and add the smileys that I want as favorites and then it takes me to the main page, but the smileys never change. That last update you gave me I put in this is what mine looks like...

PHP Code:
function getclickysmilies () {
    global 
$DB_site,$session,$smcolumns,$bbuserinfo,$smtotal
Reply With Quote
  #28  
Old 07-18-2003, 07:25 PM
matthepepe matthepepe is offline
 
Join Date: Jan 2002
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it would be really cool if a user could go into there user cp and select like there 5 favorite smilies, and those 5 would show up in the quick reply box all the time. would kill that huge smilies box and keep a good clean look with easy access to their most commonly used smilies
Reply With Quote
  #29  
Old 02-25-2004, 10:23 AM
highlander_RD's Avatar
highlander_RD highlander_RD is offline
 
Join Date: Oct 2003
Location: Italy
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool hack, all-the-vb, thanxs. *installed*
Everything works fine.
By the way, I've this problem: when I click on "edit my favorite smilies", whereas I had already selected my smilies, I get the page with all the boxes are blank again.
Is this my problem?
In case not, it is possible to open the edit page with my previous selected smilies?
Thanks for reply!
;-)
Reply With Quote
  #30  
Old 05-25-2007, 09:29 AM
random1 random1 is offline
 
Join Date: May 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey i acted hastily and installed this on a 3.6.7 board. it appears to be workin well with the exception that i get this error: Warning: implode() [function.implode]: Bad arguments. in \includes\functions_editor.php on line 566
when i hit reply to any thread

did i goof something up, thanks in advance\

never mind, it allows you to set your smilies but not click on them or "more" to get to any others. had to uninstall
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 03:22 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09461 seconds
  • Memory Usage 2,299KB
  • Queries Executed 24 (?)
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
  • (6)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)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