PDA

View Full Version : PM HACK 1.1.5??


01-08-2001, 12:38 AM
Anyone get the PM Hack working in 1.1.5? I have been looking all over for this and have not found it or figured it out yet. Thanks!!

Jestah

01-08-2001, 02:45 AM
<a href="http://vbulletin.org" target="_blank">http://vbulletin.org</a>

Hacks.... Download PM 1.2.5

The instructions are included.

01-10-2001, 04:51 PM
Instructions are included... for 1.1.4 - anyone got any idea on how to add the hack to 1.1.5 ? I recall Ed saying new instructions were forthcoming ?

01-10-2001, 05:16 PM
I followed the instructions to a T in 1.1.5 last night and installed it within 30 minutes.

01-10-2001, 05:21 PM
Actually, I'm not totally sure about that anymore. Sorry.

The instructions should really be like "add this to the end" kind of stuff, instead of replace.

If you have this line in 1.1.4:

$var = "'".addslashes($blah)."','".addslashes($blah2)."',$blah3";

And this in 1.1.5:

$var = addslashes($blah).",".addslashes($blah2).",".addslashes($blah3);

The only real difference is that you have an additional addslashes (and you moved a " around).

So, if I say replace the 1.1.4 line with this:

$var = "'".addslashes($blah)."','".addslashes($blah2)."',$blah3,$blah4,$blah5";

In 1.1.5, it'd be like this:

$var = addslashes($blah).",".addslashes($blah2).",".addslashes($blah3).",$blah4,$blah5" ;

Just some things you should know:
* The period puts strings together -> "a"."b" is basically "ab"
* Separate different fields in a MySQL table by commas.
INSERT syntax:
INSERT INTO table (field,list) VALUES (value,list)

UPDATE SYNTAX:
UPDATE table SET field=value, field2=value2 [WHERE clause optional]

HTH if you want to try it.

01-10-2001, 07:24 PM
Originally posted by Craig Antill
Instructions are included... for 1.1.4 - anyone got any idea on how to add the hack to 1.1.5 ? I recall Ed saying new instructions were forthcoming ?

Yes, thanks Wayne. I added a link to the bottom of the page.

01-13-2001, 02:13 PM
On that vBulletin.org site, I saw a PM hack, but it was for 1.1.4, whereas I have 1.1.5. Will it still work, or do I need to change the code to Ed's post above?

01-13-2001, 05:07 PM
See my new site in my sig:
hacked! :D

I have the PM Hack installed ok far as I know on 1.1.5
Post a bug if found please! ;)

01-13-2001, 07:18 PM
hacked! no longer exists as I overloadded it with too many hacks.

01-15-2001, 04:33 AM
Originally posted by wluke
http://vbulletin.org

Hacks.... Download PM 1.2.5

The instructions are included.

is there any difference between the pm hack 1.2.5 and tiny pm??

01-15-2001, 03:47 PM
tiny PM is just tiny and is used by code like vbcode.

01-15-2001, 10:05 PM
but function-wise, which would be better??

01-16-2001, 03:34 PM
Big PM

01-17-2001, 02:11 AM
i c, thx for the info :)