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)

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 10:36 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.01290 seconds
  • Memory Usage 1,751KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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