Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

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
  #12  
Old 06-13-2000, 09:21 PM
Guest
 
Posts: n/a
Default

I just checked and all tables are in place. Asked others to try and post, nada.

Ed, any idea? It's the same mistake all the time (see above)
Reply With Quote
  #13  
Old 06-13-2000, 09:26 PM
Guest
 
Posts: n/a
Default

Ed:

Great hack. Are you planning on some kind of inicator on the main forum page that lets you know that you have private messages waiting?

Thanks,
Parker
Reply With Quote
  #14  
Old 06-13-2000, 09:43 PM
Guest
 
Posts: n/a
Default

Parker: Follow the install instructions and you get a indicator on the main page.

bira: I see what the problem with the syntax is, there is an extra , after the final 0 that shouldn't be there, this is because the $iconid bit seems to be missing.

Where it has gone to I have no idea. For a test you could try deleting the $iconid bit from the insert statement and replacing it with a 0 or something and see if that works.
Reply With Quote
  #15  
Old 06-13-2000, 09:46 PM
Guest
 
Posts: n/a
Default

It's not just not parsing the smilies its not parsing any vB code such as quote etc.
Reply With Quote
  #16  
Old 06-13-2000, 09:47 PM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by Mark Hewitt
For a test you could try deleting the $iconid bit from the insert statement and replacing it with a 0 or something and see if that works.

eh?

can you explain this to me like you would to an IQless child?
Reply With Quote
  #17  
Old 06-13-2000, 09:50 PM
Guest
 
Posts: n/a
Default

you know... it just occured to me...

could this be because I have the Message Icon option set off in my BB options?
Reply With Quote
  #18  
Old 06-13-2000, 09:58 PM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by Mark Hewitt
It's not just not parsing the smilies its not parsing any vB code such as quote etc.
This is because the php code in 1.1.2 had changed significantly in global.php.

For example, where it says in 1.1.1 global.php "$allowhtml=$forum[allowhtml];" it now says, in 1.1.2 global.php "$dohtml=$forum[allowhtml];" etc.

Sorry, but Ed will have to edit his scripts to modify the new version

[Edited by bira on 06-14-2000 at 07:02 AM]
Reply With Quote
  #19  
Old 06-13-2000, 10:20 PM
Guest
 
Posts: n/a
Default

OK,

here goes, I - I! - found the fix to those problems with 1.1.2

Mark,

In global.php find this code that you were asked to paste in the pminstallation.txt:

Code:
  	// PRIVATE MESSAGING
  	if ($forumid=="-1") {
  		global $privallowhtml, $privbbimagecode, $privallowsmilies, $privallowbbcode;
  		$allowhtml = $privallowhtml;
  		$allowbbimagecode = $privbbimagecode;
  		$allowsmilies = $privallowsmilies;
  		$allowbbcode = $privallowbbcode;	
  	} else {
  	// END PRIVATE MESSAGING
And replace it with:

Code:
  	// PRIVATE MESSAGING
  	if ($forumid=="-1") {
  		global $privallowhtml, $privbbimagecode, $privallowsmilies, $privallowbbcode;
  		$dohtml = $privallowhtml;
  		$dobbimagecode = $privbbimagecode;
  		$dosmilies = $privallowsmilies;
  		$dobbcode = $privallowbbcode;	
  	} else {
  	// END PRIVATE MESSAGING

As for myself - as a temporary fix, I placed in the "sendprivmsg" template the form line <input type="radio" name="iconid" value="0" checked> -- this gives value 0 to $iconid and at least allows users to send and receive messages.

I *think* I had the problem due to the fact that I have in my BB options the Message Icon disabled; and while I did allow it for PM, it seems there's a bug in the PM hack whereby if it's not allowed for the entire BB, then it doesn't work for PM and therefore gives no value (not even 0) to the $iconid.

In any case, it's working now. Who needs icons
Reply With Quote
  #20  
Old 06-13-2000, 11:36 PM
Guest
 
Posts: n/a
Default

Well I'm happy

I'd like to ask for a couple of things - maybe they can be added via the templates, and I just haven't figured out how?

1) In the table of the messages in the received list and the sent list, to have a column with a checkbox next to each message title. You can check the boxes next to the titles you want to delete, and then click on a button which says "delete all checked titles". This way, if you'd like to delete several messages, you don't have to access each message at a time.

2) Add "My Private Messaging" to the $forumjump scrolldown list (I guess this could be added somehow simple, no?)

3) the lightbulb icon! - have a lightbulb icon next to the privae messages line on the forumhome, whereby if you have new messages it will be lit up, and if you don't have new messages it won't be (just like you have an indicator for the forums)

4) "last message by" - have on the forumhome and indicator of the last message date and who sent it, just like in the forums.

Also, having the "e-mail notification" and "automatically parse URLs" options working would be nice.

Am I asking for too much?

Thanks,

Bira
Reply With Quote
  #21  
Old 06-13-2000, 11:41 PM
Guest
 
Posts: n/a
Default

I would have liked to install this hack, but the instructions don't make any sense. Step 2 - those lines do not exist in global.php in 1.1.2! grrr...

I think i'll wait for John to include it in the official release. Thanks anyway.
Reply With Quote
Reply


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 11:08 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.06955 seconds
  • Memory Usage 2,281KB
  • 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
  • (2)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
  • (3)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