Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives

Reply
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 06-13-2000 Last Update: Never Installs: 0
 
No support by the author.

Woo-freaking-hoo!

Here it is, the vB PM hack! NEWLY CHANGED TO VERSION 1.2.0 - please reference this thread now: http://www.vbulletin.com/forum/showt...?threadid=1772

It can be downloaded from here: http://www.enter.net/~rmsullivan/pmhack1.2.zip . The instructions are included within that.

Demo at: http://www.magic-singles.com/cpa/forums/ . If you MUST register to test it, ok, I guess. I'll be adding screenshots so you know what it's like soon.

Now UPDATED to version 0.9.15 !!!! Several bug fixes, additional support for linking to posts and nicer delete methods (thanks bira!)

Please note that the UBB import script has NOT been done yet - sorry. Soon though.

Enjoy! Post and questions/comments/bug reports here!

[Edited by Ed Sullivan on 07-16-2000 at 11:31 PM]

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 06-14-2000, 02:49 AM
Guest
 
Posts: n/a
Default

Ok, bunch of things here, I think

1. Templates: this is the full list of templates makeprivtables.php creates.
Quote:
error_pmcantdelete
error_pmcantignoreself
error_pmcantview
error_pmivalidrecipient
error_pmnosentreply
pmloggedin
pmloggedout
privatelogin
privatemsglist
privmsgbit
privmsgsbitlist
redirect_pmdelete
redirect_pmignoreadded
redirect_pmignoreedited
redirect_pmthanks
sendprivmsg
showignore
showprivmsg
2. I've just updated the zip above to v0.9.1!! Not many fixes, yet. Fixed instructions for vB 1.1.2, fixed "icons off" bug, added support for...

3. PM Button in Posts. Use what you want, but here's the syntax:
Code:
private.php?action=newmessage&toid=$userid
Simple enough.

4. Looked in to checkboxes real quick and they don't work how I wish they did - they only return the last value. Might have to talk to John a little about this.
Reply With Quote
  #43  
Old 06-14-2000, 02:52 AM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by bira
Craig, if you don't mind losing the changes you made to the pm templates, then just run makeprivtables.php again - it will delete and rebuild the necessary tables. [/B]
WAIT! You have to make a few changes to it then!!

Namely, uncomment all these lines: (they're all at the top)
Code:
//$DB_site->query("DROP TABLE privatercvd");
//$DB_site->query("DROP TABLE privatesent");
//$DB_site->query("ALTER TABLE user DROP ignorelist");
//$DB_site->query("DELETE FROM template WHERE title='privmsgsbitlist'");
//$DB_site->query("DELETE FROM template WHERE title='privatemsglist'");
//$DB_site->query("DELETE FROM template WHERE title='privatelogin'");
//$DB_site->query("DELETE FROM template WHERE title='showprivmsg'");
//$DB_site->query("DELETE FROM template WHERE title='privmsgbit'");
//$DB_site->query("DELETE FROM template WHERE title='sendprivmsg'");
//$DB_site->query("DELETE FROM template WHERE title='redirect_pmthanks'");
//$DB_site->query("DELETE FROM template WHERE title='redirect_pmdelete'");
//$DB_site->query("DELETE FROM template WHERE title='error_pmnosentreply'");
//$DB_site->query("DELETE FROM template WHERE title='error_pmivalidrecipient'");
//$DB_site->query("DELETE FROM template WHERE title='error_pmcantdelete'");
//$DB_site->query("DELETE FROM template WHERE title='error_pmcantview'");
//$DB_site->query("DELETE FROM template WHERE title='error_pmcantignoreself'");
//$DB_site->query("DELETE FROM template WHERE title='redirect_pmignoreadded'");
//$DB_site->query("DELETE FROM template WHERE title='showignore'");
//$DB_site->query("DELETE FROM template WHERE title='redirect_pmignoreedited'");
//$DB_site->query("DELETE FROM template WHERE title='pmloggedin'");
//$DB_site->query("DELETE FROM template WHERE title='pmloggedout'");
Just remove the // in front of it.

Back to work...
Reply With Quote
  #44  
Old 06-14-2000, 02:54 AM
Guest
 
Posts: n/a
Default

Ed,

Go to my forum at http://www.atlasf1.com/bb/index.php and register and send me (bira) a pm, and then have a look at the delete buttons I added to the PM list

Also, as for the URL from posts - it will also work with the fix I posted, same thing

And lastly -- what do you mean by "fixed "icons off" bug"?

Thanks
Reply With Quote
  #45  
Old 06-14-2000, 02:57 AM
Guest
 
Posts: n/a
Default

Since you turned off icons in your forum, it wasn't returning anything. In the template for newmessage (I don't even remember what it's called now!), just leave posticons and it will instead insert a <input type="hidden"...> in place of the icons - stops that error
Reply With Quote
  #46  
Old 06-14-2000, 02:57 AM
Guest
 
Posts: n/a
Default

Can someone come up with a good private messaging 'icon' cause my artistic ability is erm, limited
Reply With Quote
  #47  
Old 06-14-2000, 03:03 AM
Guest
 
Posts: n/a
Default

Ah Ed, that's what I did, so I guess there's no point in me downloading the new version.

Mark - I'm working on it, though don't hold your breath
Reply With Quote
  #48  
Old 06-14-2000, 03:09 AM
Guest
 
Posts: n/a
Default

OK, rather than running it all again, could someone let me have a copy of the 'showignore' template as this is also missing from my setup for some reason

This is a really great addon Ed - thanks very much for your efforts. I hope that John will adopt it as part of the official release in the next release (or at least something as good - and compatible!)
Reply With Quote
  #49  
Old 06-14-2000, 03:09 AM
Guest
 
Posts: n/a
Default

bira - sent you a message, I like those delete buttons - unfortunately, they're not really foolproof. One mis-click and Poof!, you just lost a message. If you (or anyone) knows some javascript to bring up an "Are you sure?" type prompt, I'll add it to the official version.

PM Buttons - why not just rip it from the UBB version?

You know, I've heard about hanging out in certain forums before, but I've never heard about hanging out in a thread!
Reply With Quote
  #50  
Old 06-14-2000, 03:14 AM
Guest
 
Posts: n/a
Default

showignore:

(Please note, I've made a few changes so the replacement variable tags don't get parsed)

Code:
{html doctype}
<HTML><HEAD><TITLE>$bbtitle - Private Messaging: Edit Ignore List</TITLE>
$cssinclude
</HEAD>
<body>
$header

<table border="0" width="100%"><tr>
<td valign="top" align="left"><a href="index.php"><img src="$titleimage" border="0"></a></td>

<td valign="middle" align="center" nowrap>
$fivelinks
</td></tr></table>

<table border="0" width="100%" cellpadding="2">
<tr><td width="100%">

<font><b><a href="index.php">$bbtitle</A> &gt; <a href="private.php?action=getmsgs&password=$password">Private Messaging</a> &gt; Edit Ignore List</b></font>

</td></tr></table>

<FORM ACTION="private.php" NAME="REPLIER" METHOD="POST">
<input type="hidden" name="page" value="login">
<table border=0 cellpadding=4 cellspacing=1 width="100%">
<tr bgcolor="{table headbgcolor}"><TD COLSPAN=2>
<font color="{table headtextcolor}" class=thtcolor><B>Editing $username's Ignore List</B></font></td></tr>
<tr bgcolor="{first altcolor}"><td valign=top>
<font><B>Your UserName:</B></font></td>
<td valign=top>
<INPUT TYPE="TEXT" NAME="username" VALUE="$username" SIZE=25 MAXLENGTH=25></td>
</tr>
<tr bgcolor="{second altcolor}">
<td valign=top>
<font><B>Your Password:</B></font></td>
<td valign=top><INPUT TYPE="PASSWORD" NAME="password" VALUE="$nonmd5password" SIZE=13 MAXLENGTH=13>&nbsp;&nbsp;
<smallfont><A HREF="member.php?action=lostpw">Forgotten your password?</A></smallfont></td></tr>

<TR bgcolor="{first altcolor}"><TD valign=top nowrap>
<font><B>Your Ignore List:</B></font>
<p><br><smallfont>(One username per line)</smallfont></td>
<td>
<TEXTAREA NAME="ignorelist" ROWS=20 COLS=60 WRAP="VIRTUAL">$ignoredusers</TEXTAREA>
</td></tr>
</table>

<P align="center">
<INPUT TYPE="HIDDEN" NAME="action" VALUE="doeditignore">
<INPUT TYPE="Submit" NAME="submit" VALUE="Edit Ignore List">
<INPUT TYPE="RESET" NAME="RESET" VALUE="Clear Fields">
</p></form>

$footer

</body>
</html>
Reply With Quote
  #51  
Old 06-14-2000, 03:16 AM
Guest
 
Posts: n/a
Default

Here are a few quick PM icons for the lower bar:




Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:52 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.05190 seconds
  • Memory Usage 2,289KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete