vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Private Messages Enhancements - Cyb - PM System Enhancements (https://vborg.vbsupport.ru/showthread.php?t=141838)

Valter 03-11-2007 10:00 PM

Cyb - PM System Enhancements
 
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.

dj_melayu 03-12-2007 11:22 AM

Install! And thanks for all ya wondeful release..Very appreciate that :)

Valter 03-12-2007 11:29 AM

v1.1 - Mar 12. 2007.
-Minor bug fixed (unneded space before PM stats)

To upgrade: Import XML, allow overwrite.

JakeS 03-12-2007 11:37 AM

I'll take a look, if its any good I'll keep it, Looks good so far :)

Cyricx 03-12-2007 11:38 AM

Great improvements!! :)

JakeS 03-12-2007 11:44 AM

When viewing a PM I get:
Warning: array_search() [function.array-search]: Wrong datatype for second argument in /private.php(1723) : eval()'d code on line 15

Warning: implode() [function.implode]: Bad arguments. in /private.php(1723) : eval()'d code on line 17

Gizmo5h1t3 03-12-2007 12:00 PM

also seein this at the top of the page when i view a PM....otherwise, it works flawlessly..

Quote:

Warning: array_search() [function.array-search]: Wrong datatype for second argument in /private.php(1501) : eval()'d code on line 15

Warning: implode() [function.implode]: Bad arguments. in /private.php(1501) : eval()'d code on line 17
and prolly due to this error at the top of the page, it pushes the tables off the right of the screen.......

once the pm has been read, and deleted, the error goes on page refresh, and the tables are back to normal..
i expect its something that Cybernetec can sort out with no probs, his hacks are the best on here for reliability normally.

projectego 03-12-2007 03:34 PM

Awesome! ;)

[high]* projectego clicks install[/high]

subzonline 03-12-2007 03:40 PM

clicks install

Distance 03-12-2007 03:49 PM

When its been debugged. I will install, for now *clicks install*

dbirosel 03-12-2007 04:24 PM

reserved.

bashy 03-12-2007 05:02 PM

Works flawlessly, no errors for me :)

redlabour 03-12-2007 05:05 PM

Nice Idea - but i miss something.

Why did nobody complete the full Thing integrated PM Attachments and MassPM for Special Usergroups ?

I dont want to install 3 Hacks to get the full PM Power. So i still have to stay at the most important Functions "Attachments" and "MassPM". :(

Another Suggestion is to send MassPM from normal PM Editor.

NFLfbJunkie 03-12-2007 06:56 PM

Is the 'reply to all' option suppose to be available on a received email or on the sent emails? I sent an email to two 'testuser' on my board and when I open the email as either testuser, I don't see the 'reply to all' next to the testusers. When I open the sent email that I, as the ADMIN, sent, the 'reply to all' option is there. It would seem that it should be the other way around.

bluechris 03-12-2007 08:06 PM

Great mod m8... anyone know why in CMPS portal page even if i have the NavBar of forum to be displayed it doesnt shown?

Valter 03-12-2007 09:40 PM

Edit: bug fixed... scroll down page for new version info.

daddygrim 03-12-2007 09:47 PM

works great..but where is this at?

https://vborg.vbsupport.ru/attachmen...8&d=1173701724

TVNettet 03-13-2007 05:17 AM

Fantastic!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Thx!!!!
Everyone should install this and nominate for MOTM when you do!!

weedheaven 03-13-2007 01:11 PM

*clicks install* :) nice

JakeS 03-13-2007 03:47 PM

The error I posted disappeared after unistalling No Spam!.

Valter 03-13-2007 05:56 PM

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

Upgrade info: Import XML, allow overwrite.

daddygrim 03-13-2007 06:53 PM

thanks cyb!!!!!

projectego 03-13-2007 07:25 PM

Thanks for the update, Cyb! ;)

weedheaven 03-13-2007 07:43 PM

Thanks Cyb *updated* :)

One other thing i noticed when adding it when using vbadvanced, on the main page of vbadvanced above the pm inbox disapears ;) It doesnt matter to me still have the module of vbadvanced for it, and in forum. But that's what i noticed from the addon

So now on the main page of vbadvanced install it shows:
Welcome, admin.
You last visited: Today at 09:22 PM

Normaly inbox was there, and i dont seem to be having a dropdown menu as shown. *still new to vb*

Doctor Death 03-13-2007 07:45 PM

This update caused database errors when entering private.php... apparently it had syntax errors in there -- when I uninstalled it, they went away.

Have to remain uninstalled until next update.

Valter 03-14-2007 04:42 AM

Quote:

Originally Posted by weedheaven (Post 1202759)
on the main page of vbadvanced above the pm inbox disapears

vBa support will be added in next version (or this module will just be untouched).
Quote:

Originally Posted by Doctor Death (Post 1202760)
This update caused database errors when entering private.php

What error?

weedheaven 03-14-2007 07:58 AM

Quote:

Originally Posted by Cybernetec (Post 1203062)
vBa support will be added in next version (or this module will just be untouched).

Thanks a lot, now in the latest version it gives the block a different sort of color on vba. Wasnt in the version before. So i notice its improving :up:

Doctor Death 03-14-2007 10:24 AM

Quote:

Originally Posted by Cybernetec (Post 1203062)
vBa support will be added in next version (or this module will just be untouched).

What error?

I reinstalled and it appears to be stable... Will keep an eye and report if it errors out. Thanks for your efforts.

Handbag 03-14-2007 10:38 AM

Does this show BCCs in the Recipients box?

Valter 03-14-2007 11:00 AM

Quote:

Originally Posted by Handbag (Post 1203209)
Does this show BCCs in the Recipients box?

Nope, only CC.

Handbag 03-14-2007 11:14 AM

Then great mod, will install in a bit :) thanks!

Gizmo5h1t3 03-14-2007 11:30 AM

Quote:

Warning: array_search() [function.array-search]: Wrong datatype for second argument in /private.php(1501) : eval()'d code on line 20

Warning: implode() [function.implode]: Bad arguments. in /private.php(1501) : eval()'d code on line 22
still gettin this error Cybernetec m8...after the upgrade to 1.2

any ideas??

Valter 03-14-2007 12:39 PM

Quote:

Originally Posted by Gizmo5h1t3 (Post 1203242)
still gettin this error Cybernetec m8...after the upgrade to 1.2

any ideas??

Can you create temp admin account for me so I can check it?

KEKforce 03-14-2007 02:56 PM

Quote:

Originally Posted by Gizmo5h1t3 (Post 1203242)
still gettin this error Cybernetec m8...after the upgrade to 1.2

any ideas??

Same error here!

pgb 03-14-2007 07:06 PM

great mod, but minor issues. i also see the error message described on the first page of this thread. additionally, although i see the new pm menu in the navbar, the "reply to all" link doesn't show on messages sent to more than one person. all features are turned on in the cp. i've uninstalled it for now, but i'm sure i'll be back.

scoles15 03-14-2007 07:16 PM

Also new problem. PM Notification boxes, the links go to blank page except for "File not found"

Also in pm_text table in the in the touserarray field look at this serialization:

a:1:{s:2:"cc";a:1:{i:605;s:6:"PappyJ";}} This will not give errors
a:1:{s:2:"bcc";a:1:{i:605;s:6:"PappyJ";}} This will give the errors.

The only place I see this type of second case is when the the PM DM is given only the first two parameters

If you want to use my system, I can provide a temp admin, just PM me.

bluechris 03-14-2007 07:16 PM

For the code guys now i have a question....
In the forum i have the ability to make my users choose how they wanna choose their postbit... so far i never had any problem with this but since i installed this addon a problem appears.

If i have from the vboptions in admincp the overal postbit to shown as legacy and any of my users dont change it in their usercp then the PM's are fine with no problem, but if a user put the non legacy version then when they click to read a pm the forum doesnt show it but shows them the box box to delete the post only..

Its total strange and i dont know what to do... for now i have disabled the ability for my users to choose their postbit preference and i have all the forum to legacy.

As i understood this addon likes what exists in AdminCP as matter the legacy on or off...

And here is some info cause maybe i do something wrong and its a better way to achieve user preference in postbit....atm i use this trick that i fount in vbulletin.com forum.

I created a userfield called postbit_userchoose in there you have 2 options yes or no... with yes you get the legacy postbit view and with no you use the default of the forum which in my case is the original horizontal postbit view..

I created after a plugin with this code

Quote:

if ($vbulletin->userinfo['fieldXX'] == 'Yes')
{
$vbulletin->options['legacypostbit'] = 1;
}
else
{
$vbulletin->options['legacypostbit'] = 0;
}
where XX is the number that my userfield has...
The hook location of the plugin is in global_start

And thats all... with this my users choose their postbit...

Anyone now knows why Cyb's Pm enhancement brakes with this plugin? my friend Cybernetec can you emulate it? cause the enhancement is great but not all my users like the legace view... and im in a dead end here.

Thx in advance
Chris

Makc666 03-16-2007 01:13 PM

Quote:

Originally Posted by Gizmo5h1t3 (Post 1203242)
still gettin this error Cybernetec m8...after the upgrade to 1.2
any ideas??

Same here:
HTML Code:

Warning: array_search() [function.array-search]: Wrong datatype for second argument in /private.php(1724) : eval()'d code on line 20

Warning: implode() [function.implode]: Bad arguments. in /private.php(1724) : eval()'d code on line 22

This error only exists in messages which was send with this mode:
Moderation Auto-PM v2.0.1
https://vborg.vbsupport.ru/showthread.php?t=115677

Cybernetec, install this mode.
Post any message/topic as normal user and then edit that mesage with admin account.

Normal user will get an information PM.
When you will open it, you will see those errors.

Tested on clean install 3.6.5 with these two mods:
HTML Code:

Warning: array_search() [function.array-search]: Wrong datatype for second argument in /private.php(1723) : eval()'d code on line 20

Warning: implode() [function.implode]: Bad arguments. in /private.php(1723) : eval()'d code on line 22


Valter 03-16-2007 02:12 PM

Quote:

Originally Posted by Makc666 (Post 1204833)
This error only exists in messages which was send with this mode:
Moderation Auto-PM v2.0.1

Then you should ask that hack's Author to check if his hack properly writes data to database.

Until that you can disable "Reply To All" function to avoid errors produced by wrong info in database.

Makc666 03-16-2007 03:30 PM

Yes.
There is the difference between messages sent to me by that mod in behalf of user and sent from that user himself.

By Mod:
Code:

a:1:{s:3:"bcc";a:1:{i:1;s:7:"Makc666";}}
By User:
Code:

a:1:{s:2:"cc";a:1:{i:1;s:7:"Makc666";}}
It must be s:2:"cc" ?

Will post a note to MOD's thread.


All times are GMT. The time now is 02:53 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.01518 seconds
  • Memory Usage 1,829KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_html_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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