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

Reply
 
Thread Tools
user favorites smilies Details »»
user 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: 3.0.1 Rating:
Released: 07-01-2004 Last Update: Never Installs: 23
 
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:3
new Phrases: 3

if you use this hack don't forgot click

Show Your Support

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

Comments
  #12  
Old 07-06-2004, 05:06 PM
Milorad Milorad is offline
 
Join Date: Mar 2003
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any plans to fix the DB error thing?

My users would love something like this.
Reply With Quote
  #13  
Old 08-19-2004, 01:35 AM
Osterling Osterling is offline
 
Join Date: Jan 2004
Posts: 381
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i love the idea of this hack.. when installed tho i got this error

Parse error: parse error, unexpected $ in /home/exas77ko/public_html/forum/misc.php on line 574
Reply With Quote
  #14  
Old 08-20-2004, 01:53 PM
blubber12 blubber12 is offline
 
Join Date: Nov 2003
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got no errors on install or use. But there is an oddity. In testing it, I choose 9 favorite smilies. Worked fine. But I then noticed that other members now had the same 9 smilies to choose from. Their's are no longer random, they have my 9. I have not given the info about this hack yet, so I know they did not choose the same 9. Is there a way around this? Thank you.
Reply With Quote
  #15  
Old 10-03-2004, 08:33 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's working fine on my board, but it needs to be fixed so that if you have already added favorites, the favorites edit page has the selected ones checked. I'll work on it and post it as soon as I get it done.
Reply With Quote
  #16  
Old 10-03-2004, 09:41 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got it.

Change the vbcode_nnnn_smiliesbits to say:

Code:
<tr valign="top">
<if condition="$show['wysiwyg']">
	<td class="$bgclass"><input type='checkbox' name='smilies[]' value='$smilie[smilieid]' multiple="multiple" <if condition="$smilie[checked]">checked</if>><img src="$smilie[path]" alt="$smilie[title]" border="0" /></td>
<else />
	<td class="$bgclass"><input type='checkbox' name='smilies[]' value='$smilie[smilieid]' multiple="multiple" <if condition="$smilie[checked]">checked</if> ><img src="$smilie[path]" alt="$smilie[title]" border="0" /></a></td>
</if>
	<td class="$bgclass" colspan="3">$smilie[text]</td>
</tr>
in misc.php, find:
Code:
if ($_REQUEST['do']=="getfavsmilie") {
Add after:
Code:
if($bbuserinfo['smilie'] !=''){
   $nabn = explode(" ", $bbuserinfo['smilie']);
}

Find:
Code:
foreach ($smilies AS $smilie)
		{
Add after:
Code:
    if ($nabn){
		    foreach ($nabn AS $favsmilie)
			{
			   if($smilie['smilieid']==$favsmilie)
			   {
			      $smilie['checked']=true;
			   }
			}
			}
Reply With Quote
  #17  
Old 10-04-2004, 07:33 PM
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
Posts: 893
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone using this mod on a vbulletin 3.0.3? sounds like a nice addon
Reply With Quote
  #18  
Old 10-04-2004, 08:12 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, polo. My board is 3.0.3.

Amy
Reply With Quote
  #19  
Old 10-04-2004, 08:14 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blubber12
I got no errors on install or use. But there is an oddity. In testing it, I choose 9 favorite smilies. Worked fine. But I then noticed that other members now had the same 9 smilies to choose from. Their's are no longer random, they have my 9. I have not given the info about this hack yet, so I know they did not choose the same 9. Is there a way around this? Thank you.
I don't see this happening on my board. People with no favorites are pulling up smilies in the default order. Check your installation.
Reply With Quote
  #20  
Old 10-04-2004, 08:44 PM
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
Posts: 893
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks amykhar, I will give it a try
Reply With Quote
  #21  
Old 10-31-2004, 05:27 PM
Tipi's Avatar
Tipi Tipi is offline
 
Join Date: Jun 2004
Location: Norway
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for bumping this thread, but i have a question. I've installed this hack now. It's perfect for my forum, i have almost 600 smilies on my smilieslist.

Started to add favorites, and when i was doen i clicked submit. Checked out my list (favorites) later, and discovered that the whole smilielist where in there. 600 smilies!! Have I doen something wrong? If not, can somebody plz tell me the point of this hack? *lol*
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 12:24 AM.


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.04565 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
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
  • (5)bbcode_code
  • (1)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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