vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [Webpage and Guestbook] Add-On for Admin to edit member's Webpages! (https://vborg.vbsupport.ru/showthread.php?t=77015)

Creed 02-24-2005 10:00 PM

[Webpage and Guestbook] Add-On for Admin to edit member's Webpages!
 
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 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

Quote:

Originally Posted by Creed
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

Quote:

Originally Posted by Quincy Wisdom
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:
Code:

if ($bbuserinfo['usergroupid'] == '6')
and change to:
Code:

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


All times are GMT. The time now is 03:13 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.00970 seconds
  • Memory Usage 1,728KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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