Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Smiliecreator v1.1 Details »»
Smiliecreator v1.1
Version: 1.00, by Kars10 Kars10 is offline
Developer Last Online: Feb 2009 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-18-2003 Last Update: Never Installs: 71
 
No support by the author.

Hello Hackers!
Ok this is my first release here, so be gentle with me!

Ok, what does this hack do?
With this hack you can easy generate your own custom Sign-Smilies.

Credits to: tkeil69575

It should work with any vBVersions 2.x.x.

Files to modify: 2 (vbcode.js, misc.php)

Templates to add: 1 (vbcode_popup_smiliecreator)

Templates to edit: 1 (vbcode_smilies_getmore)

Installtime: 5 - 10 min

[high]NOTE: This hack uses the PHP-GD Function, so be shure you have this enabled on your server.
If you don?t be shure about this, ask your host or look in your PHP-Info.
Also you must have Dynamic URL for [img] tags enabled in your Posting Code Settings.
[/high]

Changelog:
- v1.0 First Release
- v1.1 Fixed Quotes-bug; credits to Slynderdale and FlyingDutchman


Update Information: from v1.0 to v1.1 / only replace the old text2schild.php with the new one

Screenshots in the next Posts.

Have Fun and please click install if you use this hack!
Kars

Show Your Support

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

Comments
  #92  
Old 05-24-2003, 12:59 PM
Morpheus84 Morpheus84 is offline
 
Join Date: May 2003
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For all german people, I translated the english Template into german
Reply With Quote
  #93  
Old 05-25-2003, 12:25 AM
odl2000 odl2000 is offline
 
Join Date: Mar 2002
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
05-17-03 at 02:36 PM redstaing0 said this in Post #85
i have a porblem it is
whene i add a smile the can not show in the forum but give link
like theis

http://www.xxx.xxx.net/forum/text2schild.php?text=Tsts ur &typ=6&col=0,0,0&shcol=255,255,255


ican not se and pic befoer iam enter in the linke
I have the same problem

If I add a smiley, i have this code :
PHP Code:
[img]http://www.mydomain.com/forum/text2schild.php?text=test un petit test&typ=1&col=255,210,0&shcol=197,248,163[/img] 
But after submit, I don't see smiley, I just see the url code, and if I see the source code (html). I see this :
PHP Code:
<a href="http://www.mydomain.com/forum/text2schild.php?text=test un petit test&typ=1&col=255,210,0&shcol=197,248,163" target="_blank">[url]http://www.mydomain.com/forum/text2schild.php?text=test[/url] un petit test&typ=1&col=255,210,0&shcol=197,248,163</a> 
Could you help me ?

Thanks
Reply With Quote
  #94  
Old 05-25-2003, 09:26 AM
odl2000 odl2000 is offline
 
Join Date: Mar 2002
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ACP --> vBulletin Options -->

Allow Dynamic URL for [img] tags?
If this is set to 'no', the [img] tag will not be displayed if the path to the image contains dynamic characters such as ? and &. This can prevent malicious use of the tag.

Thanks to ManagerJosh from :
http://www.vbulletin.com/forum/showt...019#post458019

Quote:
Today at 02:25 AM odl2000 said this in Post #92
I have the same problem

If I add a smiley, i have this code :
PHP Code:
[img]http://www.mydomain.com/forum/text2schild.php?text=test un petit test&typ=1&col=255,210,0&shcol=197,248,163[/img] 
But after submit, I don't see smiley, I just see the url code, and if I see the source code (html). I see this :
PHP Code:
<a href="http://www.mydomain.com/forum/text2schild.php?text=test un petit test&typ=1&col=255,210,0&shcol=197,248,163" target="_blank">[url]http://www.mydomain.com/forum/text2schild.php?text=test[/url] un petit test&typ=1&col=255,210,0&shcol=197,248,163</a> 
Could you help me ?

Thanks
Reply With Quote
  #95  
Old 05-27-2003, 01:04 PM
GuN GuN is offline
 
Join Date: Sep 2002
Location: ~PaNaM~
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot for this good hack !
Fantastic !
(and thanks odl2000 )
Reply With Quote
  #96  
Old 06-06-2003, 11:59 AM
k?re k?re is offline
 
Join Date: Dec 2002
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have done all steps..and the script not working.. it will not open smiliecreator when i try to push this link...then i get error... and no popup window is comming..
Reply With Quote
  #97  
Old 06-06-2003, 12:29 PM
k?re k?re is offline
 
Join Date: Dec 2002
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i fixed it with changing this.
Quote:
// Smiliecreatorhack by Kars10

function opensmileycreator(x,y,sessionhash) {
window.open("misc.php?action=getsmileycreator&s="+ sessionhash, "smileycreator", "toolbar=no,scrollbars=yes,resizable=yes,width="+x +",height="+y);
}

// Smiliecreatorhack by Kars10 End


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~ 2. Open 'misc.php' ~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

search for:

?>

and above that add this:


// Smiliecreatorhack by Kars10

if ($action=="getsmileycreator") {
$templatesused = "vbcode_popup_smiliecreator";
include("./global.php");

eval("dooutput(\"".gettemplate("vbcode_popup_smili ecreator")."\");");
}

// Smiliecreatorhack by Kars10 End
with this

Quote:
// Smiliecreatorhack by Kars10

function opensmilieycreator(x,y,sessionhash) {
window.open("misc.php?action=getsmilieycreator&s=" +sessionhash, "smilieycreator", "toolbar=no,scrollbars=yes,resizable=yes,width="+x +",height="+y);
}

// Smiliecreatorhack by Kars10 End


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~ 2. Open 'misc.php' ~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

search for:

?>

and above that add this:


// Smiliecreatorhack by Kars10

if ($action=="getsmilieycreator") {
$templatesused = "vbcode_popup_smiliecreator";
include("./global.php");

eval("dooutput(\"".gettemplate("vbcode_popup_smili ecreator")."\");");
}

// Smiliecreatorhack by Kars10 End
:banana:
Reply With Quote
  #98  
Old 06-06-2003, 12:35 PM
Sc0rp Sc0rp is offline
 
Join Date: Jul 2002
Location: Netherlands
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very very nice! would be ever better if u could have users make their own smilie sets..
Reply With Quote
  #99  
Old 06-06-2003, 02:24 PM
S.Shady's Avatar
S.Shady S.Shady is offline
 
Join Date: Apr 2003
Location: Cleveland, Ohio
Posts: 179
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is my gd settings from phpinfo

Code:
gd
GD Support  enabled  
GD Version  bundled (2.0.12 compatible)  
FreeType Support  enabled  
FreeType Linkage  with freetype  
GIF Read Support  enabled  
JPG Support  enabled  
PNG Support  enabled  
WBMP Support  enabled  
XBM Support  enabled
would gif,jpg,png disabled make the images not to work for some ppl ?
Reply With Quote
  #100  
Old 06-06-2003, 03:34 PM
k?re k?re is offline
 
Join Date: Dec 2002
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im not sure ..but this change made the error gone where i do my test before i upload files ect to the real board.. then this will not work.. i get error when i try push smilecreator.. can anyone please tell me why.???
Reply With Quote
  #101  
Old 06-08-2003, 07:14 AM
Dark Shogun Dark Shogun is offline
 
Join Date: Aug 2002
Location: The Underworld
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am getting a link also. I checked and Dynamic Linking is ON and I have gd 2. Does anyone know why it is not showing the smilie only the link?

Dark Shogum
Reply With Quote
Reply

Thread Tools

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 07:36 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.04900 seconds
  • Memory Usage 2,316KB
  • Queries Executed 27 (?)
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
  • (4)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
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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