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-RELEASED vB2.0.1] Upgraded Signature-Editor w/ Preview (https://vborg.vbsupport.ru/showthread.php?t=23933)

VirtueTech 07-28-2001 10:00 PM

Credit goes to AA and Fryzid for their original hack found here: http://www.vbulletin.com/forum/showt...threadid=12282

HACK UPDATE:
I have updated this hack a bit with my fix above and some other additions as you'll see below.

Additions
  1. Adds new 'navbar' to header
  2. Adds Control Panel navbar to header
  3. Adds smilies window to signature editor
  4. Centralized Signature Limit Variable at top of script as an option.
  5. Ability to allow "Administrators" to have different siganture length.
  6. Fixes Bad_Madman's vbcode additon
  7. Cleans up HTML a bit
Screenshot
http://images.paintballcity.com/sig_hack.gif

Directions
The attached file contains the following new items:
- '_editsignature' template
- sedit.php

Upgrading: Just replace the old template and php script with the new ones
First Time Install: Read the modified install.txt

07/29/01 6:19AM EST - First attachment had bad files. Please re-download.

malc 07-29-2001 08:15 AM

I think your attachement isn't good ... because the file is equal to the original hack :(

VirtueTech 07-29-2001 09:29 AM

DOH! :eek:

I updated the ZIP file please re-download.

RobAC 07-29-2001 01:51 PM

James,

Nice job!

GB 07-29-2001 03:41 PM

hrmmm...i cant get it to work. where exactly am i supposed to put that sedit.php file? first i had it in my public_html folder, then moved it to my forums folder, then my admin folder......???

Fryzid 07-29-2001 03:46 PM

Put it again in your forum folder.

GB 07-29-2001 03:49 PM

got it to work....but for some reason i had to put sedit.php in my public_html folder to get it to work....not my forums folder

Stasik 07-29-2001 11:23 PM

A small additional hack for all who want replace the signature box through a link to signature editor

NEWS
30.07.01 ATTENTION!!! ALL PEOPLE WHO HAVE INSTALLED THE HACK HAVE TO UPDATE IT FROM THIS THREAD, OR THE SIGNATURE WILL BE BLANK, AFTER EDITING THE PROFILE

DEMO
http://www.realwebhost.net/ed.gif

HACK
edit modifyprofile template
Step 1
delete link - delete <a href="sedit.php?s=$session[sessionhash]&action=show">Signature-Editor</a>

Step 2
if you want to replace the signature box through a text link - read Step2-a
if you want to replace the signature box through a image link - read Step2-b (image called editor.gif should be located in your /images/ derictory)

substep a
replace:
<td bgcolor="#DFDFDF"><textarea name="signature" rows="6" cols="40">$bbuserinfo[signature]</textarea>

with:
<td bgcolor="#DFDFDF" align="center"><inout type=hidden name="signature" value="$bbuserinfo[signature]"><a href=sedit.php?s=$session[sessionhash]&action=show>Signature Editor</a>

substep b
<td bgcolor="#DFDFDF"><textarea name="signature" rows="6" cols="40">$bbuserinfo[signature]</textarea>

with
<td bgcolor="#DFDFDF" align="center"><inout type=hidden name="signature" value="$bbuserinfo[signature]"><a href="sedit.php?s=$session[sessionhash]&action=show"><img border=0 src="./images/editor.gif"></a>


ENYOJ

VirtueTech 07-30-2001 04:11 AM

Thanks RobAC :)

GB - I'm not sure why you would have to do that.

the_sisko 07-30-2001 07:22 AM

@Stasik:
Don't forget to edit the update query to the database, otherwise your signatur will get blank, when you just edit the profile!!!


All times are GMT. The time now is 10:59 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.01306 seconds
  • Memory Usage 1,737KB
  • 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)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