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

Reply
 
Thread Tools
Details »»

Version: 1.00, by Wayne2k1.com Wayne2k1.com is offline
Developer Last Online: Aug 2015 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 02-20-2002 Last Update: Never Installs: 4
Is in Beta Stage  
No support by the author.

Soooo...

First of all, I must admit I'm a PHP-newbie...and the installation of this hack is REALLY tricky, but the results are OK, and I think it's worth while

Here's my hack. It creates a link just under the usual smilies panel and allows to have a huge amount of smilies, and to order them in folders.

1. Pre-Requisites

You must have this two hacks installed:

https://vborg.vbsupport.ru/showthrea...threadid=24033
https://vborg.vbsupport.ru/showthrea...threadid=25888

2. Description of Files in .ZIP

smiliepanel.php - To copy in your root dir.
vbcode.js.txt - A few lines to ADD at bottom of your vbcode.js
blanksmile.gif - A "fake" smile to add in your /images/smilies dir
adv_smilie_*.txt - The templates you have to create
vbcode_smilies_getmore - The template as I have on my vbull.


3. How to install

a. Edit smiliepanel.php

Just after this comment

PHP Code:
<!-- Editable Code 
Write down the name of the Folder 
and the link 
as in this example:

<
a href="smiliepanel.php?smiliepage=2">First Page</a

IMPORTANT: use "?smiliepage=1" only if linking the index --> 
You'll find

PHP Code:
<a href="smiliepanel.php?smiliepage=2">First Page</a
Replace "First Page" with whatever you want to call the first "folder" of your panel.

Do the same thing with

PHP Code:
<a href="smiliepanel.php?smiliepage=3">Second Page</a
and so on. If you have (probably you have ) more than 2 folders, just copy&paste the code from line 27 to line 62, as many times as the folders you have.

Then, look for the line

PHP Code:
<!-- Smilie Folder #1 --> 
and read the instructions above. Just make sure to respect the syntax for the "<a href".

b. Add the lines of code you find in "vbcode.js.txt" at bottom of your vbcode.js

c. Create the templates

adv_smilie_head
adv_smilie_page
adv_smilie_firstalt
adv_smilie_secondalt
adv_smilie_foot
adv_smilie_table
adv_smilie_close


and copy in them the content of the .TXT files.

d. Replace your "vbcode_smilies_getmore" template with the one you find in the .ZIP file.

e. Now...this is the only way I found to do that, and the way it was useful for me, if one of you has something better, pls help

Upload the "blanksmile.gif" to your smilies directory. Then go to the admin panel, and add the smile, without giving it replacement text and text.
Then, move the "blank" smile to the last position.

I have 36 smilies installed on my board, and with the "blank" one they become 37.

Then I went to "vBulletin Options", and set "Clickable Smilies Total" to 36. (That means it has always to be your number of smiles, minus one).

f. Upload vbcode.js and smiliepanel.php


That's it.

Comments and suggestions are REALLY appreciated.

Show Your Support

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

Comments
  #12  
Old 03-01-2002, 11:55 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The problem with this hack is that you need the [img] tag enabled. What if you have it disabled? Also, it doesn't integrate with smilies already in the database. Otherwise it looks like a good way to have categories for smilies.
Reply With Quote
  #13  
Old 03-05-2002, 07:47 AM
rm -rf /. rm -rf /. is offline
 
Join Date: Feb 2002
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As you said: the installation is difficult, but the result is really good.

Thanks
Reply With Quote
  #14  
Old 03-09-2002, 06:34 PM
tru tru is offline
 
Join Date: Nov 2001
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack
Reply With Quote
  #15  
Old 04-07-2002, 11:40 PM
JulianD's Avatar
JulianD JulianD is offline
 
Join Date: Jan 2002
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice hack. Thanks
Reply With Quote
  #16  
Old 02-10-2003, 10:49 PM
Host Directory Host Directory is offline
 
Join Date: Feb 2003
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any demo for this hack or forum system using it?
Reply With Quote
  #17  
Old 02-11-2003, 05:05 AM
Wayne2k1.com's Avatar
Wayne2k1.com Wayne2k1.com is offline
 
Join Date: Nov 2001
Location: Italy
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep... this is a community which I worked for a while...

http://forum.igz.it

I'm moving mine... the panel works fine anyway

[ I just don't remember well... but I'm afraid you'll have to register in order to access the "new thread" page, as there are no unregistered-access forums ]
Reply With Quote
  #18  
Old 02-11-2003, 05:55 PM
Host Directory Host Directory is offline
 
Join Date: Feb 2003
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes it looks cool, thanks for your quick reply.
Reply With Quote
  #19  
Old 02-17-2003, 06:18 PM
Host Directory Host Directory is offline
 
Join Date: Feb 2003
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If i wanted 3 folders called , Angry , Confused and Cool.

Would i be right in thinking that i would have to create an extra template called adv_smilie_third alt and edit the code like this?

Code:
<!-- Smilie Folder Index -->

<?
if ($smiliepage==1) {

eval("dooutput(\"".gettemplate("adv_smilie_head")."\");");
eval("dooutput(\"".gettemplate("adv_smilie_firstalt")."\");");

?>

<!-- Editable Code 
Write down the name of the Folder and the link 
as in this example:

<a href="smiliepanel.php?smiliepage=2">First Page</a> 

IMPORTANT: use "?smiliepage=1" only if linking the index -->

<a href="smiliepanel.php?smiliepage=2">Angry</a>


<!-- /Editable Code -->
</font></td>
</tr>

<?
eval("dooutput(\"".gettemplate("adv_smilie_secondalt")."\");");
?>

<!-- Editable Code 
Write down the name of the Folder and the link 
as in this example:

<a href="smiliepanel.php?smiliepage=2">Second Page</a> 

IMPORTANT: use "?smiliepage=1" only if linking the index -->

<a href="smiliepanel.php?smiliepage=3">Confused</a>

<?
eval("dooutput(\"".gettemplate("adv_smilie_thirdalt")."\");");
?>

<!-- Editable Code 
Write down the name of the Folder and the link 
as in this example:

<a href="smiliepanel.php?smiliepage=2">Third Page</a> 

IMPORTANT: use "?smiliepage=1" only if linking the index -->

<a href="smiliepanel.php?smiliepage=4">Cool</a>

<!-- /Editable Code -->
Reply With Quote
  #20  
Old 03-04-2003, 09:49 PM
Host Directory Host Directory is offline
 
Join Date: Feb 2003
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have now installed the hack www.hostcompanies.com/forums on vb 2.2.9.

I have heard that one of the prequisit hacks required for this may not work on 2.30 - can anyone confirm this?

Can someone confirm this working on 2.30 - i am looking to upgrade but it really dont want to loose this hack as it took so long to add all the smilies - in fact i still have more smillies to add.
Reply With Quote
  #21  
Old 04-07-2004, 02:42 PM
Host Directory Host Directory is offline
 
Join Date: Feb 2003
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone know if this hack works in vb3 gold?

I am about to upgrade to vb3 gold and i would like to keep this hack.
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 08:14 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.04772 seconds
  • Memory Usage 2,315KB
  • 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
  • (1)bbcode_code
  • (4)bbcode_php
  • (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
  • (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