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)
-   -   [RE-RELEASE vB2.0] signature-editor with preview (https://vborg.vbsupport.ru/showthread.php?t=12282)

03-24-2001 10:00 PM

This is just a re-release of a hack by AA. He made this hack for vB 1.x and I made some small changes to make it work with vb 2.x

It adds a signature-editor with preview ability to your vB.

It's very simple. You just have to create a new template (_editsignature) and copy sedit.php to your vB directory. Then add a link to sedit.php in the modifyprofile template. Done.

Install instructions are included.

Fryzid

03-25-2001 07:00 PM

Sounds great, thanks :)

03-25-2001 08:54 PM

not bad. good job

webhost 07-01-2001 04:57 PM

Does this work for vb2.0.1?

Joey

Fryzid 07-01-2001 05:10 PM

It should.

webhost 07-01-2001 07:41 PM

Here goes. I never had been using my signature before. I added it to my profile earlier today. After I did that I installed your hack. Program came up loaded when I clickd on it but it did not show the signature that I had in my profile I even tried tp preview it, Everything worked fine except it would not show me the signature.

Joey

webhost 07-02-2001 01:34 AM

Working! I had to change the number of lines from 4 to 10 in the sedit.php file.

Thanks For A Great Hack

First-Man 07-02-2001 08:43 AM

Hi Ho
Fryzid Echt Spitze Hack... der von AA (f?r 1.**) hatte bei mir nie richtig geklappt :) Der jetzt schon. Super.
Danke

webhost 07-02-2001 05:07 PM

Fryzid

One question and it works great. This morning I tried something. I registered as a new user on my board. When setting up options for the new user your signature editor does not show up. Afterwards though when you sign into the board and look at your profile you can use the editor. So somehow I think it needs to be added to the register.php file.
any idea's

Fryzid 07-02-2001 06:28 PM

You need to put the link to the editor into the registeradult and registercoppa templates.

But the problem so far is that there is no user entry in the database where the signature can be stored. So the editor will not work in these templates.

The signature editor was intended to help building and viewing the signature. You want something like controlling the signature.
This needs far more hacking and should be integrated into the vB php files.

I would suggest controlling the signature exclusive via the editor. Delete the signature input fields from all templates and just offer the link to the editor. In the above mentioned register templates you can say that the signature is definable later in the user cp.


All times are GMT. The time now is 12:35 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.03086 seconds
  • Memory Usage 1,724KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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