vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vba CMPS: Smilie Creator (https://vborg.vbsupport.ru/showthread.php?t=68062)

KW802 10-28-2005 01:27 AM

Quote:

Originally Posted by Loukrhtia
This looks nice. Is there any chance it will be ported for 3.5? :)

It should work as-is with 3.5 since it isn't using any vB code.... as long as your server supports creating PNGs using GD then you should be good to go.

When I converted CinVin over to 3.5 the smilie creator came along without needing any revisions. Previously I was on vB 3.0.x with CMPS 2.0 for vB 3.0 and upgraded to vB 3.5 Gold and CMPS 2.0 for vB 3.5 at the same time and the creator continued working fine with no problems.

Lea Verou 10-28-2005 01:36 AM

Quote:

Originally Posted by KW802
It should work as-is with 3.5 since it isn't using any vB code.... as long as your server supports creating PNGs using GD then you should be good to go.

When I converted CinVin over to 3.5 the smilie creator came along without needing any revisions. Previously I was on vB 3.0.x with CMPS 2.0 for vB 3.0 and upgraded to vB 3.5 Gold and CMPS 2.0 for vB 3.5 at the same time and the creator continued working fine with no problems.

Wow, that's great news! :)
Will I be able to change those images to match my forum smilies? :)

KW802 10-28-2005 01:43 AM

Quote:

Originally Posted by Loukrhtia
Wow, that's great news! :)
Will I be able to change those images to match my forum smilies? :)

If you're familiar with making your own graphics, you should be fine. What happens is that it takes any graphic as the source and then comes down a few pixels from the top and split it into two with the section in the middle becoming the sign.

For example, the original version of the smilie used in my signature is here: http://www.cinvin.com/forums/images/...r/vorlage1.png

As you can see it splits the graphic into two pieces and then inserts the new section in between them. Inside of the zip file is the PSD file of the smilies that Kars released in his original version of this hack so you can create new smilies using that or use your own smilies. If you use your own smilies you just have to make sure you get the dimensions right so that you leave enough of the 'stick' at top so that it splits it into two but at the same you don't want the smilie so big that it splits the top of the smilies head. ;)

Lea Verou 10-28-2005 10:32 AM

Quote:

Originally Posted by KW802
If you're familiar with making your own graphics, you should be fine. What happens is that it takes any graphic as the source and then comes down a few pixels from the top and split it into two with the section in the middle becoming the sign.

For example, the original version of the smilie used in my signature is here: http://www.cinvin.com/forums/images/...r/vorlage1.png

As you can see it splits the graphic into two pieces and then inserts the new section in between them. Inside of the zip file is the PSD file of the smilies that Kars released in his original version of this hack so you can create new smilies using that or use your own smilies. If you use your own smilies you just have to make sure you get the dimensions right so that you leave enough of the 'stick' at top so that it splits it into two but at the same you don't want the smilie so big that it splits the top of the smilies head. ;)

Thanks a lot, I'll try my best! :D

Lea Verou 10-28-2005 01:06 PM

Quote:

Originally Posted by Loukrhtia
Thanks a lot, I'll try my best! :D

I did the graphics and tried to install this.
I uploaded the appropriate files, created the template and added the page.
Probably I'm doing something wrong with the settings of the page as I don't see any smilie creator at all, not even a shell, nothing, only the other modules I've enabled for the page!
Also, I didin't find a place in the options of the page (I chose template) to input the php file... Is this supposed to be done automatically via the template? :confused:

Lea Verou 10-29-2005 10:38 AM

Nevermind, strangely I just saw it! :D

I have another problem now... :(
Probably because my forum smilies are larger than the original ones they are "cut" at the bottom...
See for yourself: http://www.e-steki.com/?page=smcreator
:(

* Loukrhtia hopes this can be fixed :nervous:

pedrovazquez10 10-29-2005 11:36 AM

Create a new VBA CMPS page or module. ????
how to create this ??? thanks!

KW802 10-29-2005 05:35 PM

Quote:

Originally Posted by pedrovazquez10
Create a new VBA CMPS page or module. ????
how to create this ??? thanks!

Pedro, you'll need to be familiar with vBa before installing.

Lea Verou 10-29-2005 05:57 PM

KW802 can you please see my post at the hack's thread in vbadvanced?
I can't correct the imagecopy to fit the new graphics!
The new graphics are 2 pixels wider in both width and height.
Thanks in advance :)

Lea Verou 10-29-2005 10:00 PM

Ok, pasting here in case somebody can help... :nervous:

I found out that you have to alter the line:
PHP Code:

 imagecopy ($img$vorlage, ($width 3), ($height 17), 052917); // Bildteil kopieren 

but no matter what I change the 17 (last number) to, it has absolutely no effect. All the other numbers in the function have an effect when they are changed but I need to change the src height as well!


All times are GMT. The time now is 02:02 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.01685 seconds
  • Memory Usage 1,750KB
  • 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_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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