PDA

View Full Version : [Webpage and Guestbook] Add-On for Admin to edit member's Webpages!


Creed
02-24-2005, 10:00 PM
Webpage and Guestbook Add-On Hack for Admins to edit member's Webpages


What this hack does:

This hack removes allows the administrators to now edit your member's webpages.

Requires: Webpage and Guestbook Hack (https://vborg.vbsupport.ru/showthread.php?t=71065) installed!

Instructions include:

Template Edits: 1
New Templates: 1
File Edits: 1

If you use, please click install!

(Typo has been fixed) New template should be: adminmodify_webpage

Creed
02-25-2005, 10:33 AM
Screenies!!

Snow
02-25-2005, 01:59 PM
Does this only work with your standalone version of the webpage hack? I've installed it but when I go to admineditwebpage, I get a blank space where I presume the 'edit webpage' should be. :(

Creed
02-25-2005, 04:38 PM
Yes, it does or at least it does for me. The only thing I can think of is its not calling the template: adminmodify_webpage. Did you create that template?

Snow
02-25-2005, 04:43 PM
adminmodify_webpage. Problem fixed! Yourinstructions file has a typo, you've written "Create new template:adminmodifywebpage"..... I changed the name of the template toadminmodify_webpage and it works now. Thanks. :squareeyed:

Creed
02-26-2005, 04:22 AM
Ah, I'm sorry. I gotcha, I will fix immediately!

Quincy Wisdom
03-25-2005, 06:43 PM
Good work, works perfectly :)

What would I edit it I wanted to allow my supermods to edit as well? (User id - 5)

Thanks again.

T3MEDIA
03-26-2005, 10:44 AM
Creed please look at the guestbook non delte issue and let us know if you can get a fix going?

Creed
03-26-2005, 09:08 PM
Good work, works perfectly :)

What would I edit it I wanted to allow my supermods to edit as well? (User id - 5)

Thanks again.

just find all instances of:
if ($bbuserinfo['usergroupid'] == '6')
and change to:
if ($bbuserinfo['usergroupid'] == '6' or $bbuserinfo['usergroupid'] == '5')

That should fix you right up.

I could add a small query which adds "can edit" to the user table, and then you could control on the fly who can edit webpages through the usergroup control in the Admin CP.

frage
04-02-2005, 02:20 AM
very nice
;)

klick install
frage

Gutspiller
08-20-2005, 12:33 AM
Does this mod to the original hack still need to be installed for admin editability? In the original hack thread it reads:

NEW FEATURES v1.0.2
* Admin edit ability

So do we need to install this hack-addon to get admin editing abilities?

tuanluu
09-14-2005, 04:06 AM
thanks