PDA

View Full Version : Signatures Gallery Hack


all-the-vb
06-10-2003, 10:00 PM
Signatures Gallery Hack

by All-the-vb

How the hack works:
It works like a signatures gallery

Features:
1) You can see all signatures instead of going through every member profile to see his signature. So without this hack, if you want to see all signatures then you need to spend hundreds of years, while with this hack you can see them in one page.

2) Members can vote for any signature they like, and number of votes will be beside every signature.

3) You can specify number of signatures that'll be displayed in the page.

4) You have the choice to display the image in the signature, or to be as an address only.

5) You can allow/disallow visitors to vote.

6)You can allow visitors to vote as many as you specify.

7) Detect other features ;)


Note!: all vbcode codes will be enabled automatically.

Except php: code: qute:
since it may distort the page.

Files to upload: (1)
Files to edit: (0)
Queries to Run: (2)
Templates to edit: (0)
Templates to add: (5)

all-the-vb
06-11-2003, 12:37 PM
screen:

all-the-vb
06-11-2003, 12:39 PM
Don't forget to edit :

// to show images in the signatures, set to 1.
// to show images as addresses, set to other than 1.
$img=1;

// Max number of pages.
$max=80;

// number of signatures in one page.
$pagenn= 2;

// to allow voting more than once for the member, set to 2
$userratesig= 2;

// to allow visitors to vote, set to 2
$guestrate= 1;

in sig.php

Sulaiti
06-11-2003, 01:11 PM
Great Hack

Install

Regards

all-the-vb
06-11-2003, 01:17 PM
you're welcome

d3f
06-11-2003, 03:04 PM
good hack works great.

gmarik
06-11-2003, 03:12 PM
Today at 05:39 PM all-the-vb said this in Post #3 (https://vborg.vbsupport.ru/showthread.php?postid=407495#post407495)
Don't forget to edit :



// to show images in the signatures, set to 1.
// to show images as addresses, set to other than 1.
$img=1;


// Max number of pages.
$max=80;


// number of signatures in one page.
$pagenn= 2;


// to allow voting more than once for the member, set to 2
$userratesig= 2;

// to allow visitors to vote, set to 2
$guestrate= 1;


in sig.php

Is that written in the zip or semothing new?

all-the-vb
06-11-2003, 03:17 PM
@d3f
welcome

@gmarik

these lines of code are in sig.php which is in the zipped file

alamuae
06-11-2003, 04:02 PM
Great Hack
íÚØíß ÇáÚÇÝíå

Velocd
06-11-2003, 04:46 PM
Good concept, I had actually planned to make a signature hack awhile back, but become involved with other things.

Though, I don't see much of a point to ratings, considering signatures are dynamic and will change from time to time, so a vote would only really count for that instance of the signature.

Also, is there a way to browse via username?

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

Today at 10:46 AM Velocd said this in Post #10 (https://vborg.vbsupport.ru/showthread.php?postid=407599#post407599)
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:


$smiliesonoff

after that add:

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


} else if

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

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

match the http://-style

format in the beginning --

possible attempted exploit
$homepage = '';
}
}




After that add:

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:


,signature='".addslashes($sig

nature)."'




And delete that




again ##

find:


,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-the-vb
06-12-2003, 11:19 PM
@MetalGearMaster

when ever you want to rest counter
add the following:

UPDATE user SET sigrate=0

in phpmyadmin

MGM
06-13-2003, 12:02 AM
oooooh, thanks!!!! great job man!

MGM out

all-the-vb
06-13-2003, 01:30 AM
@MetalGearMaster

welcome

Don't forgot clicks install ;)

lalo landa
06-13-2003, 02:58 AM
the vbcodes do not work 3 me.

And how can I do for show only the signatures with images?

I mean.. no text signatures, only with images?

max11
06-13-2003, 07:13 AM
very nice hack

Thank's :)

all-the-vb
06-13-2003, 10:31 AM
@lalo landa

open sig.php


find:

WHERE signature != ''



Replace it with:

WHERE signature LIKE '%[img]%'


###########
max11

you're welcome

lalo landa
06-14-2003, 05:51 AM
Thnks!!!

all-the-vb
06-14-2003, 06:12 PM
@lalo landa

:) welcome

msu
06-16-2003, 09:38 AM
all-the-vb

thanx man for this great hack :)

i think somebody will relase soon avatar gallery hack lol

:banana:

all-the-vb
06-17-2003, 04:10 AM
@msu
you're welcome

lol
see this hack
vB Member Photo
https://vborg.vbsupport.ru/showthread.php?s=&threadid=49565&highlight=member

sebastien69
07-20-2003, 07:10 PM
Yhea great hack but just a question

It would be nice to integrate "flash" , 'icq' and 'text alignment ' vbcodes into de sig.php and this hack would be perfect one ^^

Does it be difficult to code this and integrate this to the sig.php ??

thanks

Hobbes
08-14-2003, 05:28 AM
nice hack:D

anyway for it to allow *ALL* vbcodes?

default and custom?

thatd be nice

*clicks install*