vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   [RELEASE] Private Messaging (PM) Hack, v 1.2.0 (https://vborg.vbsupport.ru/showthread.php?t=1772)

10-05-2000 06:40 PM

My problem is using HTML, VB code, or smilies does not work with my PM hack! Everything else seems to be fine!

I toggled settings in the admin panel to turn on and off these features, but it seems to be stuck in the off state.

Can someone point me in the right direction of the problem can may be?

10-07-2000 06:41 AM

Thanks Ed, I installed it sucessfully on my board! It's great!

Rangersfan - I finally got alter permissions on my Vbulletin, so I can finally install the avatar hack!

10-09-2000 04:25 AM

Okay, small problem:

Almost everyone is catagorized as "Unable to recieve Private Messages".

The reason for this is this: When you edit your profile, you have to choose the radio button that says "Receive Private Messages". Well, that's all fine and dandy. But then, if you edit your profile again, the radio buttons' position isn't saved (they're both unselected) and you HAVE to click on yes, even if you are doing something unrelated like changing your Biography. If you leave it unchecked, it assumes that you do NOT want to recieve PMs.

Also, everyone who was registered BEFORE the hack was installed has it turned off by default.

How do I fix these 2 problems?

10-09-2000 04:27 AM

Cid look at my posts on this page:

http://www.vbulletin.com/forum/showt...2&pagenumber=4

10-09-2000 10:59 PM

Quote:

Originally posted by rangersfan
Ok the problem is this is in the instructions:

Code:

Find:
~~~~~~~
$DB_site->query("INSERT INTO user (userid,username,password,email,parentemail,coppauser,homepage,icq,aim,yahoo,biography,signature,adminemail,showemail,invisible,usertitle,joindate,canpost,cookieuser,daysprune,lastvisit,lastactivity,usergroupid,timezoneoffset,emailnotification) VALUES (NULL,'".addslashes($username)."','".addslashes($password)."','".addslashes($email)."','".addslashes($parentemail)."',$coppauser,'".addslashes($homepage)."','".addslashes($icq)."','".addslashes($aim)."','".addslashes($yahoo)."','".addslashes($biography)."','".addslashes($signature)."',$adminemail,$showemail,$invisible,'".addslashes($usertitle)."',".time().",1,$cookieuser,$prunedays,".time().",".time().",$newusergroupid,$timezoneoffset,$emailnotification)");
~~~~~~~

Replace with:
~~~~~~~
  //PM Hack
  //Original: $DB_site->query("INSERT INTO user (userid,username,password,email,parentemail,coppauser,homepage,icq,aim,yahoo,biography,signature,adminemail,showemail,invisible,usertitle,joindate,canpost,cookieuser,daysprune,lastvisit,lastactivity,usergroupid,timezoneoffset,emailnotification) VALUES (NULL,'".addslashes($username)."','".addslashes($password)."','".addslashes($email)."','".addslashes($parentemail)."',$coppauser,'".addslashes($homepage)."','".addslashes($icq)."','".addslashes($aim)."','".addslashes($yahoo)."','".addslashes($biography)."','".addslashes($signature)."',$adminemail,$showemail,$invisible,'".addslashes($usertitle)."',".time().",1,$cookieuser,$prunedays,".time().",".time().",$newusergroupid,$timezoneoffset,$emailnotification)");
  //New:
  $DB_site->query("INSERT INTO user (userid,username,password,email,parentemail,coppauser,homepage,icq,aim,yahoo,biography,signature,adminemail,showemail,invisible,usertitle,joindate,canpost,cookieuser,daysprune,lastvisit,lastactivity,usergroupid,timezoneoffset,emailnotification,receivepm,emailonpm) VALUES (NULL,'".addslashes($username)."','".addslashes($password)."','".addslashes($email)."','".addslashes($parentemail)."',$coppauser,'".addslashes($homepage)."','".addslashes($icq)."','".addslashes($aim)."','".addslashes($yahoo)."','".addslashes($biography)."','".addslashes($signature)."',$adminemail,$showemail,$invisible,'".addslashes($usertitle)."',".time().",1,$cookieuser,$prunedays,".time().",".time().",$newusergroupid,$timezoneoffset,$emailnotification,$receivepm,$emailonpm)");
  //END PM Hack
~~~~~~~

The thing is you will find that line (or lines that look damn near the same) in two places. One in the edit profile section and one in the coppa form section. You need to make sure to change the one in the "Edit Profile" section, it is also the first occurence of the line.

Okay, I know this is the problem that I have, and the solution, but I have no idea what you're saying here. Can you explain?

10-09-2000 11:10 PM

Well Cid I did explain. I will try to log in later and fix it for you.

10-09-2000 11:34 PM

Nevermind Rangersfan. I removed all the private messaging stuff from member.php and started again. Sure enough, its working now.

Thanks.

11-01-2000 01:40 AM

This is an absolutely great hack, I love the results!

If I may add, there should be warnings especially to those who have installed other hacks already, I have almost overwritten my Poll Hacks, good thing I paid more attention than usual.

Best of all, this hack works, and wonderfully at that! Great JOB!

11-01-2000 03:34 AM

Ed you do need to put a check in the hack because if someone deletes a message then goes back I get tons of tech errors emailed to me :)

11-02-2000 04:58 PM

Question about templates - what template contains the information on reply and that sort of things. I am looking for the actually text and links so I can change the color from white so it will show up on the white background.

I have been through all of them that I can find and cant seem to find it.


All times are GMT. The time now is 08:03 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.01154 seconds
  • Memory Usage 1,743KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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