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)

fantasma 07-08-2003 09:16 AM

I just add a double slash before "var vtyp = findtyp();"

<html>
<head>
<title>$bbtitle Smiliecreator</title>
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<meta http-equiv="MSThemeCompatible" content="Yes">

<script>
function findtyp() {
var szReturn;
for (var i=0;i<document.schild.typ.length;i++) {
if (document.schild.typ[i].checked) {
szReturn = document.schild.typ[i].value;
break;
}
}
return szReturn;
}

//var vtyp = findtyp();
</script>

Bezane 07-08-2003 09:25 AM

look at http://www.MF-Board.com/ @ News...

i?ve made the // but it doesn?t work...

Eskito 07-13-2003 09:27 PM

Sorry, the Problem isn't fixed and I'll go to uninstall the Hack next Days. Many other Things should be done on our Community and I've not Time enough to wait too many Days for an Idea.

Bezane 07-14-2003 06:53 AM

i´ll make the same in 4 days (fr.)

Aaron1 07-14-2003 09:05 AM

Love this hack, but i got trouble running it, although the gd library is installed & png support is available.

These are the errors i have:
from here:

http://www.housequake.com/forum/text...hcol=2,255,255

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/sites/site5/web/forum/text2schild.php on line 6

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of remove_magic_quotes(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/sites/site5/web/forum/text2schild.php on line 30

Warning: Cannot add header information - headers already sent by (output started at /home/sites/site5/web/forum/text2schild.php:6) in /home/sites/site5/web/forum/text2schild.php on line 126
?PNG  IHDR<%)?z3PLTE???????????????????KLL??????? ???????????x?rttRNS@??f"IDATx?͖Y?? E? ????v???-*?]9??????F&??????R?偱?l????0捷???9˲e9? wk??*?v?p^??? x?vQ?g???????e??ݧ??P???Va3??Gr?2? ???9??k?U?)Xk?ae??6k&p???$ho:?? N?*LK?-B?s????!??8Š?????g8"J???????]R!Ly?α)????xr???ͬ?/.r..4?[W? ?ۉ?K[e!m??ϓ0;,?h+??????-?6?gCt?韪???? ħاIEND?B`?

Do you guys/girls have any clue what i did wrong?
Thanks for helping me out if you can!

Aaron1 07-14-2003 10:22 AM

I removed the magic_quotes function and now suddenly it works again!
Strange, anyone know why?

Bezane 07-14-2003 10:46 AM

now it´s deleted!

Pikok 07-25-2003 08:33 AM

I did everything that you guys said, I even checked if GD was on (it is)

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


PHP Code:

Warningimagecreatefrompng(./images/smilies/schilde/vorlage.png): failed to open streamNo such file or directory in /home/httpd/vhosts/fu-all.explorerhost.com/httpdocs/pyrio/vb/text2schild.php on line 77

Warning
imagecopy(): supplied argument is not a valid Image resource in /home/httpd/vhosts/fu-all.explorerhost.com/httpdocs/pyrio/vb/text2schild.php on line 85

Warning
imagecopy(): supplied argument is not a valid Image resource in /home/httpd/vhosts/fu-all.explorerhost.com/httpdocs/pyrio/vb/text2schild.php on line 86

Warning
Cannot modify header information headers already sent by (output started at /home/httpd/vhosts/fu-all.explorerhost.com/httpdocs/pyrio/vb/text2schild.php:77in /home/httpd/vhosts/fu-all.explorerhost.com/httpdocs/pyrio/vb/text2schild.php on line 126
?PNG IHDR?%?/?? PLTE???~Q?]tRNS@??f?IDATx???=??sI[r?T"?yHd???mJK??P?P\?q)?Ò?H3)'+? ?Zx????V?????;#] V?o??С??W?u?j=????;=IEND?B`?
Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/httpd/vhosts/fu-all.explorerhost.com/httpdocs/pyrio/vb/text2schild.php on line 129 


Akex 07-25-2003 05:03 PM

Thx a lot for this, great job :)

Sc0rp 07-30-2003 06:33 AM

tha java window wont open.. getting an error on the page.. I edited the vbcode.js and I pasted:

<a href="javascript:opensmileycreator(320,290,'$sessi on[sessionhash]')">[Create Smilie]</a>

inside showthread_replybox template.. any idea why it aint working?

[edit]

nvr mind I pasted the java code above in the replybox template and it worked:) thanks mate! *clicks install

Sc0rp 07-30-2003 08:45 AM

another problem, if I use it in the quick reply box all works fine untill I press Ok, then it does not insert the code into the quick reply box's text field.. any idea how to solve this?

Matrixgl 08-14-2003 03:01 AM

I did everything properly, yet the window is not opening :(

68 Z-28 01-03-2004 06:58 PM

Is there a posibility of getting this ported over to vb3?

Extremea 02-03-2004 11:56 AM

I'm having a problem truning on my Dynamic URL for [img] tags. I go to the CP and turn them on but on the forum is says that they are off.

Any ideas on how to fix this?

egyptsons 02-15-2004 01:59 PM

:(
it dosen't support the Arabic language

how can I make it writ arabic ??

http://www.egyptsons.com/misr/text2s...ol=255,255,255


just writ english
http://www.egyptsons.com/misr/text2s...ol=248,203,251

can u help me in this :( to writ with arabic ??

Emmy2 02-27-2004 08:05 PM

Excellent and fun hack! I installed it on vB 2.3.4 without a hitch. My board is small so the extra juice to run the program shouldn't be a problem.

datainternet 04-07-2004 05:04 PM

Is it possible to convert this hack to VB3?

My User really liked this hack und they miss the smilie creator now.

MFG datainternet

Hoffi 06-16-2004 10:44 AM

Quote:

Originally Posted by datainternet
Is it possible to convert this hack to VB3?

My User really liked this hack und they miss the smilie creator now.

MFG datainternet

For vB3 I have developed an simple BB-Code for Smilies with Signs. No Hacking required.

msimplay 06-16-2004 02:46 PM

Quote:

Originally Posted by Hoffi
For vB3 I have developed an simple BB-Code for Smilies with Signs. No Hacking required.

details please :p

sabret00the 06-27-2004 12:58 PM

wouldn't porting this to vb3 just be a matter of pointing the clickables to the vb3-textarea instead of the vb2 one?

Hoffi 06-28-2004 04:28 PM

No Hacking required for this.

Take the following Image and following BBCode:

Title: Schield

Tag: schield (or whatever you want)

Replacement:
HTML Code:

<table border="0" cellspacing="0" cellpadding="0">
<tr>
        <td align="center" style="background-color: White; border: 1px solid Black; padding: 1px;"><normalfont>{param}</normalfont></td>
</tr>
<tr><td align="center">
<img src="absolut/path/to/your/image.gif" alt="" border="0">
</td></tr>
</table>

Use Option: No

Works on vB2 and vB3

If you want more than one Image use the Option tag and name the Images to schield1.gif etc. and use Filepath shield{option}.gif
Than call with [ schield=1]test[/shield]

I attached a Smilie.

Have fun.

sabret00the 06-29-2004 01:55 AM

wow that's awesome, you should release it over at vBT hoffi :)

Hoffi 06-30-2004 12:19 PM

I have released it at vb.com months ago. But you are right... I'll do it soon.

KW802 08-11-2004 12:24 PM

If anybody is interested....

This hack has been converted into a vbadvanced CMPS module.

https://vborg.vbsupport.ru/showthread.php?t=68062

The table trick by Hoffi nearly eliminates the need of having to do this as a VB3 hack so I did it geared towards vBa CMPS more as a learning experience than anything else; I figured it'd be a fun toy for the users to play with and also for me for when I want to create new smilies for misc. image work.


All times are GMT. The time now is 01:30 PM.

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.01367 seconds
  • Memory Usage 1,786KB
  • 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
  • (1)bbcode_html_printable
  • (1)bbcode_php_printable
  • (2)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
  • (24)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