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)

Morpheus84 05-24-2003 12:59 PM

For all german people, I translated the english Template into german :)

odl2000 05-25-2003 12:25 AM

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

odl2000 05-25-2003 09:26 AM

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


GuN 05-27-2003 01:04 PM

Thanks a lot for this good hack !
Fantastic !
(and thanks odl2000 ;) )

k?re 06-06-2003 11:59 AM

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..

k?re 06-06-2003 12:29 PM

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:

Sc0rp 06-06-2003 12:35 PM

very very nice! would be ever better if u could have users make their own smilie sets.. :D

S.Shady 06-06-2003 02:24 PM

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 ?

k?re 06-06-2003 03:34 PM

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.???

Dark Shogun 06-08-2003 07:14 AM

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


All times are GMT. The time now is 11:11 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.01288 seconds
  • Memory Usage 1,755KB
  • 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_code_printable
  • (4)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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