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 - Private Messages Attachments (https://vborg.vbsupport.ru/showthread.php?t=127113)

redlabour 09-23-2006 01:21 PM

Quote:

Originally Posted by Muellmann
I uninstalled this Hack from yesterday again. if i setup this hack my users cannot register, because it's like the older incompatible with the Welcome-PM!

No it works after the Update.

And by the Way - they can register. Just let them make a Browser refresh if you have the old Error.

Shazz 09-23-2006 02:15 PM

Updated*

Shazz 09-23-2006 02:23 PM

Quote:

Originally Posted by Stoebi
Hi,

new update available:

Update - 23-09-2006

* Fix with new registered user and welcome pm (Thx to Redlabour)
* Attachment (AJAX) now included in newpost_attachment template

Import and overwrite the new 1.53 file if you 1.52 installed before



Regards, Stoebi

Thats it? Just one file import..

RiverEngineer 09-23-2006 03:21 PM

Quote:

Update - 23-09-2006

* Fix with new registered user and welcome pm (Thx to Redlabour)
* Attachment (AJAX) now included in newpost_attachment template


Import and overwrite the new 1.53 file if you 1.52 installed before
I see no instructions as to an edit to the template "newpost_attachment", so I assume this is handled in the XML file?? I still cannot get this to work, but will keep uninstalling, deleting and trying again. I always work on the Default template before moving on to others, so it must be on my end.

Thank you for your efforts.

Shazz 09-23-2006 03:33 PM

Quote:

Originally Posted by RiverEngineer
I see no instructions as to an edit to the template "newpost_attachment", so I assume this is handled in the XML file?? I still cannot get this to work, but will keep uninstalling, deleting and trying again. I always work on the Default template before moving on to others, so it must be on my end.

Thank you for your efforts.

You can't get this to work. As in , its not installing right. Or is it just not showing up

RiverEngineer 09-23-2006 03:48 PM

Quote:

Originally Posted by Shazz
You can't get this to work. As in , its not installing right. Or is it just not showing up

I'm sorry, I did not indicate that. Installation is fine, edits are all in place and files are uploaded to Cron and XML. The Product has been imported and the Phrase file has been successfully merged.

I never get the "Manage Attachments" button in the New PM window.

All the lines appear in the "AdminCP -> Plugins & Product -> Plugin Manager" window and the activation buttons appear in the Usergroup Manager > "usergroup" section and are checked Yes in the Administrator group that I would use as the test before implementing site wide.

I just tried to add the edits into a style that has never been modified, with the same result of no "Manage Attachments" button appearing.

Thank you, as you can see by my being a "one poster" I usually can figure out all of this on my own by reading and doing the research first. This one has me stumped by something very simple I am overlooking.

da_judge 09-23-2006 08:31 PM

I have VB version 3.5.4....
I have problem... all of sudden every 1 from Mod down cant send attachments...

Can i use this new version on 3.5.4.... or is there an easy fix for my problem....

Cheers

Shazz 09-23-2006 10:06 PM

Quote:

Originally Posted by da_judge
I have VB version 3.5.4....
I have problem... all of sudden every 1 from Mod down cant send attachments...

Can i use this new version on 3.5.4.... or is there an easy fix for my problem....

Cheers

There is already a version for this on the 3.5.4

EasyTarget 09-26-2006 07:12 PM

Is there a way to disable this for all usergroups/users by default? Every single user has the permissions set to yes, even after I change their usergroup settings. Does this mean that I have to edit each user 1 by 1 in order to disable their permission?

Shazz 09-26-2006 08:31 PM

Quote:

Originally Posted by EasyTarget
Is there a way to disable this for all usergroups/users by default? Every single user has the permissions set to yes, even after I change their usergroup settings. Does this mean that I have to edit each user 1 by 1 in order to disable their permission?

That would be a pain, There might me a switch in the XML file to switch that option...

Stoebi 09-27-2006 06:24 AM

Quote:

Originally Posted by EasyTarget
Is there a way to disable this for all usergroups/users by default? Every single user has the permissions set to yes, even after I change their usergroup settings. Does this mean that I have to edit each user 1 by 1 in order to disable their permission?

Hi,

yes (single user) only in conjunction with the usergroup options.


Regards, Stoebi

deckardt 09-28-2006 08:52 AM

Hi,

Short question, if we install this mod and run the impex importer afterwards will that work or is impex not supported?

Thanks in advance!

EasyTarget 09-28-2006 10:00 AM

Quote:

Originally Posted by Stoebi
Hi,

yes (single user) only in conjunction with the usergroup options.


Regards, Stoebi

yes I do have to edit every single user 1 by 1 if I don't want them to have access?

Stoebi 09-28-2006 10:30 AM

Quote:

Originally Posted by EasyTarget
yes I do have to edit every single user 1 by 1 if I don't want them to have access?

It's not needed. If you set the options to upload/download PM attachments in the usergroup for registered user to No, all users in this usergroup can't upload/download PM attachments.


Regards, Stoebi

EasyTarget 09-29-2006 07:05 AM

ok, so if I set the usergroup permissions to No but their user permissions say yes then it won't allow them to send attachments?

doesn't vbulletin usually work the other way around, where user permissions override group permissions?

vasu_alla007 10-08-2006 12:03 PM

damn did everything and still it wont work at all! til date ive got al the hacks perfectly workng in here! except this one dont know if its really working for those who said its working

MusicMan 10-10-2006 04:25 AM

This hack was useless to me. It never worked right and for the right usergroups and someone alerted me to a fatal error in the registration process which would display this after a registration was complete....

Quote:

Fatal error: Call to a member function clean_gpc() on a non-object in /home/keepmusi/public_html/includes/class_dm_user.php(2396) : eval()'d code on line 1
The registration somehow did complete, but that page leads the new signup into believing that it didn't, and at the very least gave the impression that my site is broken and too confusing to try and figure out what to do next. I absolutely advise everyone not to even bother with this! Had that bug report not have come (it came from another vb admin I know so she knows to look out for such things), my site could have suffered in a major way. Avoid this like the plague.

Stoebi 10-10-2006 07:15 AM

Fixed in 1.53

Regards, Stoebi
Quote:

Originally Posted by MusicMan
This hack was useless to me. It never worked right and for the right usergroups and someone alerted me to a fatal error in the registration process which would display this after a registration was complete....



The registration somehow did complete, but that page leads the new signup into believing that it didn't, and at the very least gave the impression that my site is broken and too confusing to try and figure out what to do next. I absolutely advise everyone not to even bother with this! Had that bug report not have come (it came from another vb admin I know so she knows to look out for such things), my site could have suffered in a major way. Avoid this like the plague.


Lionel 10-10-2006 07:29 AM

hummmm am I missing something here? Was there a problem? This hack worked for me on 3.60 since day 1.

Muellmann 10-17-2006 09:21 PM

i experienced a strange thing: as i installed this hack, registered users were not more able to edit them own attachments after they already have posted a new thread with pictures for example.

if a user posted a thread with a picture and wanted to add after one day to his posted thread a second picture he received the
"no permission"-screen.

if i switch off the hack, the user can upload the attachment without a problem.
if the hack is turned on again, the permission is again denied for the user who wants simply to edit his own thread with his attachments (add, delete attachment).

is there a fix? has anyone the same problem?
maybe it's connected with thread-id "-1" in this hack?
must i change the thread-id in the product in this case (and where)?

Edit: the fix works thanx Stoebi - now again installed ;)

Shazz 10-17-2006 09:55 PM

Quote:

Originally Posted by Muellmann
i experienced a strange thing: as i installed this hack, registered users were not more able to edit them own attachments after they already have posted a new thread with pictures for example.

if a user posted a thread with a picture and wanted to add after one day to his posted thread a second picture he received the
"no permission"-screen.

if i switch off the hack, the user can upload the attachment without a problem.
if the hack is turned on again, the permission is again denied for the user who wants simply to edit his own thread with his attachments (add, delete attachment).

is there a fix? has anyone the same problem?
maybe it's connected with thread-id "-1" in this hack?
must i change the thread-id in the product in this case (and where)?

i uninstalled again, sorry but this made me many troubles https://vborg.vbsupport.ru/external/2011/01/20.gif

This just popped up as a problem for me after testing it :)
Don't know what it could be..

*had to remove this as well

Stoebi 10-18-2006 01:21 AM

Quote:

Originally Posted by Shazz
This just popped up as a problem for me after testing it :)
Don't know what it could be..

*had to remove this as well

Here is the fix (official update comes later):
Plugin -> private attachments - initialize pm attachments if needed (Hook global_start)

Change Line 1
Code:

if (THIS_SCRIPT == 'newattachment' AND $_REQUEST['type'] == 'pm')
to
Code:

if (THIS_SCRIPT == 'newattachment' AND $_REQUEST['type'] == 'pm' AND !$threadid)

Regards, Stoebi

Shazz 10-18-2006 01:25 AM

Thanx Will try it out :)

Revpolar 10-18-2006 04:35 AM

Guys try this simple thing before you all get upset and say it doesnt work.
Go to your usergroup manager and set both options for PM attachments to no save and go back and set it to yes again and save.
After that it should work. I think you only need to do it for one usergroup to update all but you might want to do all to be on the safe side.

350Chevy 10-25-2006 10:19 PM

Quote:

Originally Posted by bashy
I have now added the edit, I now see the manage attachments, it lets me add 1, yet when message sent there is no attachment :(

I've a bit of the same problem. I'm not a n00b when it comes to hack installation. I've gone over this one 3-4 times now uninstalling and reinstalling following every last detail. I have the manage attachments box and am able to attach just fine. But when I send the message there is no attachment and no attachment paperclip? It's like it's there but the message is blank.

Running vB 3.6.2

Top Nurse 11-16-2006 06:05 AM

Just installed this and it works perfectly in 3.6.2 exactly as described.:D However, the last few sentences of the instructions were a bit cryptic, but I was able to get to the right place after thinking about it for a minute or so. ;)

Thanks for this fantastic bit of programming wizardy. We have a small private forum where sometimes it is advantageous to have this capability and now we got it. Do you have a PayPal account I can drop a few $$ into?

Stoebi 11-16-2006 07:37 AM

Quote:

Originally Posted by Top Nurse (Post 1118420)
Just installed this and it works perfectly in 3.6.2 exactly as described.:D However, the last few sentences of the instructions were a bit cryptic, but I was able to get to the right place after thinking about it for a minute or so. ;)

Thanks for this fantastic bit of programming wizardy. We have a small private forum where sometimes it is advantageous to have this capability and now we got it. Do you have a PayPal account I can drop a few $$ into?

Hello,

thank you very much for your feedback. Sorry for the cryptic part, i need more english training.

PayPal? Yes, i have. Thank you very much.
schulz(at)gmx(dot)com


Regards, Stoebi

Scooby Doo 11-16-2006 11:42 AM

Thanks! Very good! :)

Simms 11-26-2006 02:17 PM

I just installed this, and for what it's worth, I was having the same problem initially -- no box to add attachments, even after double- and triple-checking the installation.

I then posted a new thread with an attachment, just to make sure the basic functionality was still intact, and after seeing that work, the box suddenly appeared when sending a PM. So it's working fine now. :)

I don't know enough about coding php to say there's a cause-and-effect relationship between posting the thread attachment and the subsequent appearance of the PM hack, but I'm just sayin'....

This is in 3.6.4, btw.

qqb825 12-05-2006 02:26 PM

i just installed this on 3.6.0 and no problems so far. :D

i've been waiting for this hack FOR YEARS. thank you very much! :D




first post here at vbulletin.org!

yoyoyoyo 12-07-2006 02:55 AM

where can I get version 1.5.5? I did a version check and it came up as having been updated, yet I don't see any new version available

hotwheels 12-08-2006 04:39 PM

I am running this mod on my site and last nite a user found something really wierd and when i disabled this mod, it fixed the problem...

anyways, can someone who is running this check and see if you run into the same problem?

Log in as a regular user, not an admin or a mod.......then start a thread, just call it test thread, then save it......when the page refresh's, click edit, then click edit again and try to upload an image and see what happen's. My user's were getting "you don't have permission" messages. Once i disable the product and went back to the post, i was able to submit an image via editing.......

Please let me know what happen's with yours.......hotwheels

Stoebi 12-08-2006 08:57 PM

Hi

@Hotweels, @all
Please use this fix from here: #102

1.54 included this fix #102 only
1.55 comes with included template edits using the Template Modification System (at the moment not public here (beta)).


Regards, Stoebi

hotwheels 12-08-2006 10:45 PM

thanks alot............hotwheels

SpArKs85 12-16-2006 02:24 AM

Quote:

Originally Posted by Revpolar (Post 1099338)
Guys try this simple thing before you all get upset and say it doesnt work.
Go to your usergroup manager and set both options for PM attachments to no save and go back and set it to yes again and save.
After that it should work. I think you only need to do it for one usergroup to update all but you might want to do all to be on the safe side.

Yep. Working now, thanks

SpArKs85 12-16-2006 02:29 AM

Hmmm....

Just tested it and when you click upload:

"Invalid Post specified. If you followed a valid link, please notify the administrator"

Any clues?

Edit: Works with one skin but not the other, sorry

hotwheels 12-16-2006 02:51 AM

sparks, see what happen's with this update.

ChurchMedia 01-12-2007 10:36 AM

Hi,

Since I installed this I'm able to attach files and all of that seems to be working fine, but on a new PM I'm not getting a pmid assigned -- so I can't send new PMs. Any ideas? On a reply I get a pmid number -- just not on a new PM -- and it was working before.

Thanks for your help and the cool hack.

Snake 01-12-2007 10:52 AM

Just wondering if this is gonna work on 3.6.4 just fine...

rubberdemon 01-22-2007 08:57 PM

I just installed it on 3.6.4 and it works fine, though I had to do what Revpolar suggested above before the option showed up in the PM page.
Quote:

Go to your usergroup manager and set both options for PM attachments to no save and go back and set it to yes again and save.
However, people have told me that their archived private messages that had attachments on them have now lost their attachments. Anyone have any suggestions?


All times are GMT. The time now is 02:54 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.01636 seconds
  • Memory Usage 1,842KB
  • 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
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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