Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Cyb - PM System Enhancements Details »»
Cyb - PM System Enhancements
Version: 1.4, by Valter Valter is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 3.6.8 Rating:
Released: 03-11-2007 Last Update: 04-23-2007 Installs: 658
Uses Plugins Template Edits
 
No support by the author.

FEATURE SUPPORT AND UPDATES:
https://vborg.vbsupport.ru/showthread.php?t=177785


=======

Info:
This enhances your Private Messages system:
-PM Menu in NavBar PM stats
-Advanced unread PM(s) notification
-"Reply To All" option in messages which was sent to multiple recipients
-Option to completely disable Signatures in PMs
-Options to change NewPM form checkboxes defaults

All features can be enabled/disabled in hack settings.

See screenshots.


Installation:
1. Import XML file as product: AdminCP > Plugin System > Manage Products > [Add/Import Product]


To set options:
Go to: AdminCP > vBulletin Options > Cyb - PM System Enhancements


Versions:
v1.0 - Mar 12. 2007.
-Initial release
v1.1 - Mar 12. 2007.
-Minor bug fixed (unneded space before PM stats)
v1.2 - Mar 13. 2007.
-Fixed bug (array_search error on some servers when viewing PM)
-New: Change PM stats cell bg-color on new PM
v1.3 - Mar 23. 2007.
-Fixed bug (array_search error when viewing PMs sent by bots)
-Fixed bug (PM menu links not working on some forums)
-Hack compatible with vBadvanced CMPS (variable to globalize: cybpmmenu)
v1.4 - Apr 24. 2007.
-PM menu links uses now full path (defined in vBulletin Options > Site Name / URL / Contact Details > Forum URL)
-Some other minor bug fixes


Click INSTALL if you like this hack.

Show Your Support

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

Comments
  #72  
Old 03-24-2007, 08:21 AM
bluechris bluechris is offline
 
Join Date: Nov 2006
Location: Athens. Greece
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok got it thx...
Reply With Quote
  #73  
Old 03-30-2007, 02:36 PM
dbirosel dbirosel is offline
 
Join Date: Feb 2007
Location: San Diego
Posts: 587
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Cyb, a member pointed out that on my CMPS page, the private messages point to /private.php where it suppose to point to /forum/private.php

I disabled your mod and then rechecked and got fixed. But then enabled it again and still points to /private.php.

Works fine on my Forum index though.
Reply With Quote
  #74  
Old 03-30-2007, 03:06 PM
TrIn@dOr TrIn@dOr is offline
 
Join Date: Nov 2006
Location: South Bend, IN
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent, will be perfect if u add a auto-prune by amount size

Thanks.
Reply With Quote
  #75  
Old 04-09-2007, 05:03 PM
Mudvayne's Avatar
Mudvayne Mudvayne is offline
 
Join Date: Dec 2005
Location: /dev/null/
Posts: 393
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Makc666 View Post
Maybe open "Cyb-CPMSE.xml" and replace origianl code here:
PHP Code:
            if ($vbulletin->options['cyb_pme_newpm_recpt'])
            {
                
$vbulletin->templatecache['pm_newpm'] = str_replace(('$checked[receipt]'),'checked=\"checked\"',$vbulletin->templatecache['pm_newpm']);
            } else {
                
$vbulletin->templatecache['pm_newpm'] = str_replace(('$checked[receipt]'),'',$vbulletin->templatecache['pm_newpm']);
            }

            if (
$vbulletin->options['cyb_pme_newpm_copy'])
            {
                
$vbulletin->templatecache['pm_newpm'] = str_replace(('$checked[savecopy]'),'checked=\"checked\"',$vbulletin->templatecache['pm_newpm']);
            } else {
                
$vbulletin->templatecache['pm_newpm'] = str_replace(('$checked[savecopy]'),'',$vbulletin->templatecache['pm_newpm']);
            }

            if (
$vbulletin->options['cyb_pme_newpm_urls'])
            {
                
$vbulletin->templatecache['pm_newpm'] = str_replace(('$checked[parseurl]'),'checked=\"checked\"',$vbulletin->templatecache['pm_newpm']);
            } else {
                
$vbulletin->templatecache['pm_newpm'] = str_replace(('$checked[parseurl]'),'',$vbulletin->templatecache['pm_newpm']);
            } 
with what you need?
Of course you must know how it works.
Thanks for your suggestion. I've fixed the problem. Actually I'm using custom skin what had login option only on forum home. So I need to change the header to add the login option. Now it appears on every page. Anyway I have edited Cyb - PM System Enhancements - MN plugin.
PHP Code:
if ($vbulletin->options['cyb_pme_enable_global'])
        {
            if ((
$vbulletin->options['cyb_pme_newpmsig_color']!='') OR $vbulletin->options['cyb_pme_enable_pmmenu'])
            {
                eval(
'$cybpmmenu = "' fetch_template('cyb_pme_pmmenu') . '";');
                
$vbulletin->templatecache['header'] = str_replace('$vbphrase[private_messages_nav]','$cybpmmenu',$vbulletin->templatecache['header']);
            }

            if ((
$vbulletin->userinfo['pmunread'] > 0) AND ($vbulletin->options['cyb_pme_newpmsig_bgcolor']!=''))
            {
                
$vbulletin->templatecache['header'] = str_replace(('<td class=\"alt2\" valign=\"top\" nowrap=\"nowrap\">'),'<td valign=\"top\" nowrap=\"nowrap\" style=\"background-color:'.$vbulletin->options['cyb_pme_newpmsig_bgcolor'].';\">',$vbulletin->templatecache['header']);
            }

            if (
$vbulletin->options['cyb_pme_newpm_smil'] AND (THIS_SCRIPT=='private') AND ($_REQUEST['do']=='newpm'))
            {
                
$vbulletin->templatecache['newpost_disablesmiliesoption'] = str_replace(('$checked[disablesmilies]'),'checked=\"checked\"',$vbulletin->templatecache['newpost_disablesmiliesoption']);
            } else {
                
$vbulletin->templatecache['newpost_disablesmiliesoption'] = str_replace(('$checked[disablesmilies]'),'',$vbulletin->templatecache['newpost_disablesmiliesoption']);
            }

            if (
$vbulletin->options['cyb_pme_pm_sig_dis'] AND (THIS_SCRIPT=='private') AND $_REQUEST['do']=='showpm')
            {
                
$cyb_pme_sigrems = array('__________________<br />''$post[signature]');
                
$vbulletin->templatecache['postbit'] = str_replace($cyb_pme_sigrems,'',$vbulletin->templatecache['postbit']);
                
$vbulletin->templatecache['postbit_legacy'] = str_replace($cyb_pme_sigrems,'',$vbulletin->templatecache['postbit_legacy']);
            }
        } 
I just replace the navbar template with header template. Then again as I'm using <td align="$stylevar[right]"></td> for my login box so I got drop down menu text on right side :S. So I need to edit the template also. Just added.
HTML Code:
					<td class="vbmenu_option" align="$stylevar[left]"><a href="private.php?$session[sessionurl]&folderid=0" accesskey="4" rel="nofollow">$vbphrase[inbox]</a></td>
				</tr>
				<tr>
					<td class="vbmenu_option" align="$stylevar[left]"><a href="private.php?$session[sessionurl]&folderid=-1" accesskey="4" rel="nofollow">$vbphrase[sent_items]</a></td>
				</tr>
				<tr>
					<td class="vbmenu_option" align="$stylevar[left]"><a href="private.php?$session[sessionurl]do=newpm" accesskey="4" rel="nofollow">$vbphrase[send_new_message]</a></td>
				</tr>
				<tr>
					<td class="vbmenu_option" align="$stylevar[left]"><a href="private.php?$session[sessionurl]do=trackpm" accesskey="4" rel="nofollow">$vbphrase[track_messages]</a></td>
				</tr>
				<tr>
					<td class="vbmenu_option" align="$stylevar[left]"><a href="private.php?$session[sessionurl]do=editfolders" accesskey="4" rel="nofollow">$vbphrase[edit_folders]</a></td>
Reply With Quote
  #76  
Old 04-10-2007, 12:44 AM
odie3 odie3 is offline
 
Join Date: Mar 2007
Location: Kyle USA
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks! Works great [as far as I can tell]!
Reply With Quote
  #77  
Old 04-10-2007, 04:10 AM
Deadly Assassin's Avatar
Deadly Assassin Deadly Assassin is offline
 
Join Date: Aug 2006
Location: VbAnswers.com
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Brilliant as always :up:

Installed
Reply With Quote
  #78  
Old 04-10-2007, 04:17 AM
dbirosel dbirosel is offline
 
Join Date: Feb 2007
Location: San Diego
Posts: 587
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work with CMPS yet? Members can't access there private messages through CMPS. They keep getting the 404 error. Is there a solution to this?
Reply With Quote
  #79  
Old 04-10-2007, 05:47 AM
Mudvayne's Avatar
Mudvayne Mudvayne is offline
 
Join Date: Dec 2005
Location: /dev/null/
Posts: 393
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try adding full URL to your CSS. Though I don't use CMPS now but once I got problem with this. Then I did change all the CSS URL from 'forum/blabla/blabla' to 'http://mydomain/forum/blabla/blabla' in ACP > Styles & Templates > Style Manager > Select a skin & go to All Style Option. Thats all . I hope this 'll fix your problem too.
Reply With Quote
  #80  
Old 04-10-2007, 06:27 AM
Sjakie Sjakie is offline
 
Join Date: Oct 2006
Location: Holland, The Hague
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What a great mod! Keep up the good work man!
Reply With Quote
  #81  
Old 04-11-2007, 09:25 PM
itsblack itsblack is offline
 
Join Date: Dec 2005
Location: Augsburg
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To get it work with CMPS, there is no need to edit CSS. There is an easier way, just simply edit the product xml file, find
Quote:
private.php
before that add following thing
Quote:
/forum/
or something more, for line 186, before
Quote:
clear.gif
you should also add
Quote:
/forum/
And reinstall the product. That's it.
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 04:12 AM.


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.06939 seconds
  • Memory Usage 2,353KB
  • Queries Executed 27 (?)
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
  • (1)bbcode_html
  • (2)bbcode_php
  • (5)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_onlinestatus
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • postbit_imicons
  • 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