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)
-   -   Usercp Signature Preview (https://vborg.vbsupport.ru/showthread.php?t=40402)

Kinox 06-27-2002 10:00 PM

Usercp Signature Preview
 
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.

Kinox 06-28-2002 02:09 PM

UPDATED 10/03/02

Sparkz 06-28-2002 02:13 PM

Please include textfiles of your hacks too...

Kinox 06-28-2002 02:31 PM

screen2

Lesane 06-28-2002 02:43 PM

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 :D

Velocd 06-28-2002 02:54 PM

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.

Velocd 06-28-2002 03:17 PM

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?

Chris M 06-28-2002 03:21 PM

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

Satan

Velocd 06-28-2002 03:25 PM

That's my guess, it's alittle annoying to fix though...I'll try to post some instructions up without these HTML thingies..

Chris M 06-28-2002 03:27 PM

Cool thanks:)

Satan


All times are GMT. The time now is 09:56 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.01108 seconds
  • Memory Usage 1,747KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (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