View Single Post
Old April 18th, 2009, 01:24 AM   #8 (permalink)
Luciano
Moderator
Verified Customer
 
Join Date: Aug 2005
Posts: 1,231
Quote:
Originally Posted by clearchannel View Post
you can in fact remove a members subscriptions by choosing that option in the drop down menu in the user's profile page in ACP.
Well its easy to add vbgallery there, but you need a file edit as vbulletin does not provide a hook...

open forums/admincp/usertools.php
find:
Code:
Content visible to verified customers only.
Below add:
Code:
Content visible to verified customers only.
save the file...

Now when you delete all vbulletin subscriptions for a user in that dropdown, it will automatically also delete all vbgallery subscriptions for that user...

hope that helps

Luc

in the comment for fileedits i allways add "xba" so if vbulletin updates that file, you can easily find your edits by searching for "xba"
PS: Dont let yourself be confused by the comment of vbulletin at the top of that section: it says:
Quote:
// ###################### Start Remove User's PMs #######################
thats a typo, the PM section is below and has its own comment.. it should read :
Quote:
// ###################### Start Remove User's Subscriptions #######################
(as you can see even vbulletin people are not perfect )

NB: If you want a dropdown for vbgallery only at that place, it would be much more difficult, as you would have to edit 2 files in several places + add phrases and in case of vbulletin update ==> every 2 months it would be a pain to keep it up to date..
I think that 1 file edit with 2 lines only is ok.. as not all files change on every vbupdate..

Last edited by Luciano; April 18th, 2009 at 02:48 AM. Reason: added NB
Luciano is offline   Reply With Quote