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)
-   -   Signatures Gallery Hack (https://vborg.vbsupport.ru/showthread.php?t=54169)

forums_777 06-11-2003 07:41 PM

Nice idea

:)

all-the-vb 06-11-2003 11:58 PM

@forums_777 & alamuae
welcome
ÍíÇß Çááå ÇÎæì Çáã ÇáÇãÇÑÇÊ
---
@Velocd

sorry , but actully i don't understand ur question very well .
could u explain what do u mean plz ?

Crinos 06-12-2003 02:49 AM

He means, since signatures change, what the members actually voted for might not be the current signature that is showing in the list ...

For example, I put a quote from Shakespeare in my signature... members like it, and they vote for it... it becomes top ranked in two days ... on the third day, I decide change my signature into something that quotes, say, Beavis and Butthead ... the signature changed, but the tally of votes remain the same ... so the members who voted will then say "hey, that signature sucks, that's not what we voted for!" ... and those who haven't voted yet will wonder why a sucky signature got so much votes, hehe ;)

Trivial really, but it might happen :D

Great hack idea though ... cheers :)

Quote:

Today at 10:46 AM Velocd said this in Post #10
Also, is there a way to browse via username?
I'm curious about this myself...

Katana Myronson 06-12-2003 02:53 AM

Good job all-the-vb! Clicks install

paratek 06-12-2003 01:37 PM

Nice Hack....clicks the install

MGM 06-12-2003 04:21 PM

awesome, I've been looking for something like this. I have Signature contests so that the top signature wins a prize. I have a question though, would I be able to reset the votes to start over? So that I can reset everytime I have a contest

MGM out

all-the-vb 06-12-2003 05:34 PM

Katana Myronson & paratek

welcome :)


-----------
Crinos & Velocd

see this attachment

and next reply

if the user edit his signature then the total vote will be 0

all-the-vb 06-12-2003 05:38 PM

hehe

open modifyprofile Templates

--
find:

Code:

$smiliesonoff
after that add:
Code:

<br><br><font

face="Tahoma">edit your signature :</font><p><font

face="Tahoma"></smallfont>no

<input type="radio"

name="editsig" value="no"

checked>&nbsp;&nbsp;
yes <input type="radio"

name="editsig" value="yes"

notchecked></font></p>


######
open member.php
find:

PHP Code:

    } else if 

(!
preg_match('#^[a-z0-9]

+://#si'
$homepage)) {
      
// homepage doesn't 

match the [url]http://-style[/url] 

format in the beginning -- 

possible attempted exploit
      $homepage 
'';
    }
  } 



After that add:
PHP Code:

if($editsig==yes){
$DB_site->query("UPDATE user 

SET 

signature='"
.addslashes($sign

ature
)."' WHERE 

userid='
$bbuserinfo[userid]'"

);
$DB_site->query("UPDATE user 

SET sigrate=0 WHERE 

userid='
$bbuserinfo[userid]'"

);




find:

PHP Code:

,signature='".addslashes($sig

nature)."' 



And delete that




again ##

find:

PHP Code:

,signature='".addslashes($sig

nature)."' 



And delete that

vbulletin-arab 06-12-2003 06:54 PM

good .. job man

cool hack ..thanx

all-the-vb 06-12-2003 08:15 PM

@vbulletin-arab

hehe

you're welcome my friend


All times are GMT. The time now is 06:14 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.01220 seconds
  • Memory Usage 1,748KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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