Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 03-24-2001 Last Update: Never Installs: 19
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 08-02-2001, 06:49 AM
Me2Be's Avatar
Me2Be Me2Be is offline
 
Join Date: Oct 2001
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Pretty cool! My girls are going to love this, thank you!
Reply With Quote
  #23  
Old 08-24-2001, 11:26 AM
Afterburner's Avatar
Afterburner Afterburner is offline
 
Join Date: Nov 2001
Location: 53?36'08"N 13?18'22"E
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you go to the usercp click on edit profile than on Signatur editor it shows the bug in the attachment, if you click on prewiew (also without changes) it seems OK
Reply With Quote
  #24  
Old 08-25-2001, 02:53 PM
hondastyle's Avatar
hondastyle hondastyle is offline
 
Join Date: Oct 2001
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a very nice hack...
Also, the instructions were very simple and it was extremely easy to install (even for the Urkels of hacks like myself..)

Thanks very much.
Reply With Quote
  #25  
Old 08-26-2001, 06:45 AM
Hoffi's Avatar
Hoffi Hoffi is offline
 
Join Date: Nov 2001
Location: Germany
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

i must change in my members.php the following:

find:
-------------------------------------------------------------------------------
$DB_site->query("UPDATE user SET birthday='".addslashes($birthday)."',signature='". addslashes($signature)."',cust omtitle='$customtitle',usertitle='".addslashes($cu stomtext)."',email='".addslash es(htmlspecialchars($email))."',parentemail='".add slashes(htmlspecialchars($pare ntemail))."',coppauser='$coppauser',homepage='".ad dslashes(htmlspecialchars($hom epage))."',icq='".addslashes(htmlspecialchars($icq ))."',aim='".addslashes(htmlsp ecialchars($aim))."',yahoo='".addslashes(htmlspeci alchars($yahoo))."',usergroupi d='$bbuserinfo[usergroupid]' WHERE userid='$bbuserinfo[userid]'");

and replace with:
-------------------------------------------------------------------------------
$DB_site->query("UPDATE user SET birthday='".addslashes($birthday)."',customtitle=' $customtitle',usertitle='".add slashes($customtext)."',email='".addslashes(htmlsp ecialchars($email))."',parente mail='".addslashes(htmlspecialchars($parentemail)) ."',coppauser='$coppauser',hom epage='".addslashes(htmlspecialchars($homepage))." ',icq='".addslashes(htmlspecia lchars($icq))."',aim='".addslashes(htmlspecialchar s($aim))."',yahoo='".addslashe s(htmlspecialchars($yahoo))."',usergroupid='$bbuse rinfo[usergroupid]' WHERE userid='$bbuserinfo[userid]'");

In the old SQL-Statement was the Signature Field in the Database updated with a non-existing Form-Field of the Site. So i removed the Signature-Filed from the SQL-Statement.
Before this, the Signature was deleted when saving the Profile, because the Filed was missing.
Reply With Quote
  #26  
Old 08-26-2001, 12:03 PM
ozone2000 ozone2000 is offline
 
Join Date: Nov 2001
Location: Denmark
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so the code does?? sorry if you explained it in your text, but im not so good at english!
Reply With Quote
  #27  
Old 08-26-2001, 04:04 PM
SirSteve SirSteve is offline
 
Join Date: Oct 2001
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Hoffi
Hi,

i must change in my members.php the following:

find:
-------------------------------------------------------------------------------
$DB_site->query("UPDATE user SET birthday='".addslashes($birthday)."',signature='". addslashes($signature)."',customtitle='$customtitl e',usertitle='".addslashes($customtext)."',email=' ".addslashes(htmlspecialchars($email))."',parentem ail='".addslashes(htmlspecialchars($parentemail)). "',coppauser='$coppauser',homepage='".addslashes(h tmlspecialchars($homepage))."',icq='".addslashes(h tmlspecialchars($icq))."',aim='".addslashes(htmlsp ecialchars($aim))."',yahoo='".addslashes(htmlspeci alchars($yahoo))."',usergroupid='$bbuserinfo[usergroupid]' WHERE userid='$bbuserinfo[userid]'");


and replace with:
-------------------------------------------------------------------------------
$DB_site->query("UPDATE user SET birthday='".addslashes($birthday)."',customtitle=' $customtitle',usertitle='".addslashes($customtext) ."',email='".addslashes(htmlspecialchars($email)). "',parentemail='".addslashes(htmlspecialchars($par entemail))."',coppauser='$coppauser',homepage='".a ddslashes(htmlspecialchars($homepage))."',icq='".a ddslashes(htmlspecialchars($icq))."',aim='".addsla shes(htmlspecialchars($aim))."',yahoo='".addslashe s(htmlspecialchars($yahoo))."',usergroupid='$bbuse rinfo[usergroupid]' WHERE userid='$bbuserinfo[userid]'");

In the old SQL-Statement was the Signature Field in the Database updated with a non-existing Form-Field of the Site. So i removed the Signature-Filed from the SQL-Statement.
Before this, the Signature was deleted when saving the Profile, because the Filed was missing.
This didn't work in 2.0.3. I got a parse error.
Reply With Quote
  #28  
Old 08-26-2001, 04:06 PM
webhost's Avatar
webhost webhost is offline
 
Join Date: Oct 2001
Location: St. Louis
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

worked fine for me with 2.0.3

What parse error are you getting what line number
Reply With Quote
  #29  
Old 08-26-2001, 05:15 PM
SirSteve SirSteve is offline
 
Join Date: Oct 2001
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did it again (as I changed it back to the original) and it worked fine! Sorry for the false alarm!
Reply With Quote
  #30  
Old 09-06-2001, 03:01 PM
Blue[GummiBear]
Guest
 
Posts: n/a
Default

I am getting this error after I install the hack and try to edit my sig:


Warning: Undefined variable: REQUEST_URI in D:\Inetpub\gummibears\www\forum\global.php on line 39

Warning: Undefined index: HTTP_POST_VARS in D:\Inetpub\gummibears\www\forum\global.php on line 64

Warning: Undefined index: action in D:\Inetpub\gummibears\www\forum\global.php on line 64

Warning: Undefined index: action in D:\Inetpub\gummibears\www\forum\global.php on line 67


I am using version 2.0.3 with only the Change User Name hack installed. Any suggestions?
Reply With Quote
  #31  
Old 09-06-2001, 03:56 PM
Blue[GummiBear]
Guest
 
Posts: n/a
Default

I fixed the error/warning message, by adding the following line right under the first line ( <$php ) in sedit.php:

error_reporting(7);
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:33 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.09671 seconds
  • Memory Usage 2,293KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (8)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete