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)
-   -   Smiliecreator v1.1 (https://vborg.vbsupport.ru/showthread.php?t=50450)

Kars10 03-18-2003 10:00 PM

Smiliecreator v1.1
 
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

Kars10 03-19-2003 10:29 AM

Screenshot of the Smiliecreator:

Kars10 03-19-2003 10:29 AM

Screenshot of a generated Smile:

Slynderdale 03-19-2003 10:39 AM

Real nice hack, I wouldnt recommend it to a high usage board because accessing GD so much tends to create a high server load. Some one crashed a webhost once that I was hosted on like that.

Hmm also, do you have an english translation?

Kars10 03-19-2003 10:41 AM

@ Slynderdale, i will make a english translated - template. :)

Slynderdale 03-19-2003 10:43 AM

Hmm, I have an idea to keep load off the server by having each image created with GD each time the server loads. Have it save the image to the hard drive and have the script check if the image is there, if it is, open the file and display it, if not, create it and save it to the hard drive and then display it.

Kars10 03-19-2003 10:47 AM

Ok, for the translation ive updatet the Zip in first Post. :)

@ Slynderdale, good point. I will look into it. :)

Disturbed 03-19-2003 11:02 AM

whoa thats sexy

will try it asap :)

NuclioN 03-19-2003 11:20 AM

Very nice. It displays the url to the smiley and ten you must copy paste it, is this correct?

--edit-- aha i had the Allow Dynamic URL for [img] tags disabled, now it's working.

Kars10 03-19-2003 11:56 AM

@ NuclioN, glad it works. :)

Dean C 03-19-2003 12:07 PM

You already showed me this Kars and its awesome. Great hack and such an ingenious idea :)

- miSt

danielalon 03-19-2003 12:43 PM

Thanks allot !!
another great hack !!!

thanks man

Slynderdale 03-19-2003 12:48 PM

This is a great hack but I wanna make a note to people, because GD creates the image each time the page is loaded it adds to the serverload each time, and also if someone one does like

for($i=0;$i<1000000;$i++) {
echo "path to the image":
}

Theres a chance the server will crash from the load.

Thats why most webhosts have GD disabled.

Kevorkian 03-19-2003 12:53 PM

nice hack ^_^ but kars why you ignore me? :(

Kars10 03-19-2003 12:56 PM

Sorry, Kevorkian. I have much trouble these days...:(

FlyingDutchman 03-19-2003 02:07 PM

really cool hack!
going to try it out!
hope my server won't get blasted by this heheh :D


[high]* FlyingDutchman clicks install![/high]

SmartGnome 03-19-2003 02:18 PM

Hi Kars10

Great hack !!! :banana:

I know it from wbb but this one is nicer.

I have a problem. It's not showing the smilie in the post, its shows only the link to the smilie. Clicking the link gives the smilie, so it is created.

It should because GD is installed :D

Any idea ??

@Slynderdale

The versions 2+ of GD gives lower serverload. We have installed it back for our customers.

Greetzz

NuclioN 03-19-2003 02:25 PM

Quote:

Today at 04:18 PM SmartGnome said this in Post #17
Hi Kars10

I have a problem. It's not showing the smilie in the post, its shows only the link to the smilie. Clicking the link gives the smilie, so it is created.

It should because GD is installed :D

Any idea ??



--edit-- aha i had the Allow Dynamic URL for [img] tags disabled, now it's working.

;)

kr?mel 03-19-2003 02:38 PM

i have problems :(
http://www.kuruboard.de/vBB/showthre...=&threadid=715

see here...

Kevorkian 03-19-2003 02:40 PM

Quote:

Today at 02:56 PM Kars10 said this in Post #15
Sorry, Kevorkian. I have much trouble these days...:(
contact me by pm, i need your help :(

SmartGnome 03-19-2003 02:44 PM

@kr?mel


OOOhhhh stupid me :D :D

Thanks for the help

Greetzz

danielalon 03-19-2003 03:12 PM

I cant see hebrew when I write hebrew in the smilie...

any ideas?

Kars10 03-19-2003 03:13 PM

Sorry danielalon, but i don?t know about hebrew language.
Maybe someone can help you with that Problem... ;)

grog6 03-19-2003 03:20 PM

Love it, great hacks, we'll make fun in our forums :)

I dl it and try it later but click install now :banana:

@Kars10 : I don't think it's hebrew but german ;)

Kars10 03-19-2003 03:22 PM

@ Grog6, thank you. :)

I think he is running a board with hebrew language on... ;)

FlyingDutchman 03-19-2003 03:23 PM

anyone has any links to some docs that explain how to enable GD?
i can't seem to get it up and running...

(hack is working 100% fine though! :) great work!!!)

kr?mel 03-19-2003 03:28 PM

:(

Kars10 03-19-2003 03:52 PM

@ Flying Dutchmen,

Find this line........... php.ini
Code:

;extension=php_gd.dll

uncomment it............


Code:

extension=php_gd.dll

restart............

FlyingDutchman 03-19-2003 03:59 PM

that doesn't work...
i tried that...
also tried gd2
i did install the hack correctly... just the pic doesn't show up :(

Kars10 03-19-2003 04:01 PM

@ FlyingDutchman, do you see the link to the Pic or nothing?
If you see a link, be shure to have dynamic Image-Tags enabled on your Posting Settings (vBulletin Options).

FlyingDutchman 03-19-2003 04:02 PM

just the big red X...

all images show up when i load the smiliecreator page...
but when i try one in my post, it doesn't work
really strange, coz i don't think i did anything wrong...

Kars10 03-19-2003 04:04 PM

Please PM me your URL, so i can have a look. ;)

jbear6 03-19-2003 05:05 PM

Excellent!
Works like a charm :)
I noticed when I use an apostrope in the "sign text", a foward slash appears before the apostrope in the resulting smilie. It's no big deal, but is there a way to stop this from happening?>

Thanks Again,
Jbear6

Kars10 03-19-2003 05:12 PM

Glad it works for you jbear6.

I have a look at this apostrope-thing! :)

Slynderdale 03-19-2003 05:42 PM

Quote:

Today at 02:05 PM jbear6 said this in Post #33
Excellent!
Works like a charm :)
I noticed when I use an apostrope in the "sign text", a foward slash appears before the apostrope in the resulting smilie. It's no big deal, but is there a way to stop this from happening?>

Thanks Again,
Jbear6

PHP Code:

stripslashes() 


partang2 03-19-2003 06:37 PM

Nice hack, thanks!

*Clicks Install*

Vile 03-19-2003 06:43 PM

Looks awesome, I'll try it out :)

Mystis 03-19-2003 06:53 PM

Quote:

Today at 11:12 AM danielalon said this in Post #22
I cant see hebrew when I write hebrew in the smilie...

any ideas?


Try replacing his font with a Hebrew language font, it's kinda hard to write vav hay daled when you're using a font that only has As, Bs, and Cs! :)

Schorsch 03-19-2003 08:40 PM

hehe Danke Karsten, super arbeit!!! :)

Kars10 03-19-2003 08:41 PM

Alles klar Schorsch!
Freu mich das es dir gef?llt.
Kuck ihn mir gleich mal bei dir an.
Gru? Kars :)


All times are GMT. The time now is 04: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.01237 seconds
  • Memory Usage 1,793KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (4)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
  • (40)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