Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Usercp Signature Preview Details »»
Usercp Signature Preview
Version: 1.00, by Kinox Kinox is offline
Developer Last Online: Oct 2005 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 06-27-2002 Last Update: Never Installs: 69
 
No support by the author.

vbhacker v1.0.2 file

*Usercp Signature*

- Limit limitations on register new user
- Limit limitations on usercp after user register
- Preview sig in usercp
- Limit lines in sig
- Limit images in sig
- Limit width
- Limit height

Enjoy

NOTE:
Limit width/height only works on .gif, .jpg, .jpeg, and so on... not on .txt, .php, .cgi, .html and so on... if user might use them in [img ] [/img ] tag...

Limits to limit extensions will come in future...

UPDATED October 3
Added signature.mass.delete.php - Add that to your /admin, and run it only if you want all signatures deleted, it will erase all signatures in your database if you want limits to be set on existing registered users...

LATEST VERSION DOWNLOAD:
https://vborg.vbsupport.ru/attachmen...&postid=266936
-------------------------------------------------------------------------
Check out http://nekio.com.
Check out http://hololith.com - my personal website.

Show Your Support

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

Comments
  #2  
Old 06-28-2002, 02:09 PM
Kinox Kinox is offline
 
Join Date: Mar 2002
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

UPDATED 10/03/02
Reply With Quote
  #3  
Old 06-28-2002, 02:13 PM
Sparkz's Avatar
Sparkz Sparkz is offline
 
Join Date: Nov 2001
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please include textfiles of your hacks too...
Reply With Quote
  #4  
Old 06-28-2002, 02:31 PM
Kinox Kinox is offline
 
Join Date: Mar 2002
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

screen2
Reply With Quote
  #5  
Old 06-28-2002, 02:43 PM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your instructions says:

PHP Code:
+-------------------------------------------------------------------------------------------------+
Create a new template named "hl_signature_usercp" with this:                                    |
+-------------------------------------------------------------------------------------------------+
&
lt;table cellpadding="0&quotcellspacing="0&quotborder="0&quotbgcolor="#0A293E"  width="100%" align="center"><tr><td>
<table cellpadding="4&quotcellspacing="1&quotborder="0"  width="100%">
&
lt;tr id="cat">
    &
lt;td bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" colspan="5" nowrap><normalfont color="#000000"><b>Signature Preview</b></normalfont></td>
</tr>
&
lt;tr>
    &
lt;td bgcolor="#1C5780" valign="top"><smallfont>
$previewsignature
</smallfont>
&
lt;/td>
&
lt;/tr>
&
lt;/table>
&
lt;/td></tr></table>
+-------------------------------------------------------------------------------------------------+ 


It's more &alt & & quot then real code
Reply With Quote
  #6  
Old 06-28-2002, 02:54 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack Kinox! I love the signature limits on it.

The only suggestion I can make, a general miss by many hackers, is to make sure you include any custom templates into the $templatesused=''; list to prevent extra queries.
Reply With Quote
  #7  
Old 06-28-2002, 03:17 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm..well, I just really installed it right now and I'm a bit confused on why you do this:
Code:
$userinfo=$DB_site-&(gt;query_first(&*quot;
    SELECT signature
    FROM user
   	WHERE userid=$bbuserid
   	LIMIT 1
   	");
You have &*quot (wo/asterik) codes in here and it's screwing up the thing, is there a reason you inserted this?
Reply With Quote
  #8  
Old 06-28-2002, 03:21 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

He probably tried to do it with some sort of Web Dev package...

Satan
Reply With Quote
  #9  
Old 06-28-2002, 03:25 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's my guess, it's alittle annoying to fix though...I'll try to post some instructions up without these HTML thingies..
Reply With Quote
  #10  
Old 06-28-2002, 03:27 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool thanks

Satan
Reply With Quote
Reply


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 07:03 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05311 seconds
  • Memory Usage 2,308KB
  • Queries Executed 23 (?)
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_code
  • (1)bbcode_php
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete