Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[release] Admin/Mod Login & Avater Link Intergration Details »»
[release] Admin/Mod Login & Avater Link Intergration
Version: 1.00, by assassingod assassingod is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 11-21-2002 Last Update: Never Installs: 0
 
No support by the author.

Authors: Anime-Loo and SaintDog
Intergrated by: ffdcsite
Description:This mod will intergrate SaintDogs Admin/Mod Login and Anime-Loo's Edit avater link in User CP template modifications. For admins, it will display a link to the Admin CP, for mods, it will display a link to the Mod CP and for normal users it will show a link to the Edit Avatar Page.
I would also like to say that I wrote niether of these mods, I simply intergrated them. All credit goes to SaintDog and Anime-Loo
Links:
SaintDog's mod - http://www.vbulletintemplates.com/mo...?s=&threadid=8
Anime-Loo's Mod - http://www.vbulletintemplates.com/mo...&threadid=1779

Preview:


Please click the install if you use this modification!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 11-22-2002, 05:01 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Preview:
Reply With Quote
  #3  
Old 11-22-2002, 05:09 PM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, never thought of doing it that way. However you may want to show the mod and admin the edit avatar link to incase someone did steap two of my mod that removes the avatar bits from the edit options page. In that case i belive this code would work tho i havent tested it

//ffdcsites intergration
if ($bbuserinfo[usergroupid]==6) { //Admins
$usercplogin = "<a href=\"admin/index.php\">Admin CP</a> - <a href=\"member.php?s=$session[sessionhash]&action=editavatar\">Edit Avatar</a><br>";
} elseif (($bbuserinfo[usergroupid]==5) or ($bbuserinfo[usergroupid]==7)) { //Mods
$usercplogin = "<a href=\"mod/index.php\">Mod CP</a> - <a href=\"member.php?s=$session[sessionhash]&action=editavatar\">Edit Avatar</a><br>";
} else { //Everyone else
$usercplogin = "<a href=\"member.php?s=$session[sessionhash]&action=editavatar\">Edit Avatar</a>";
}
//End intergration

good work
Reply With Quote
  #4  
Old 11-22-2002, 05:11 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for that Anime-Loo.
Ill test that out now and let you know on the results

Edit:
Tested and working great. Although, it did make that cell rather large [mad]
Reply With Quote
  #5  
Old 11-22-2002, 08:04 PM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would have never thought of that too. Nice work.
Reply With Quote
  #6  
Old 11-22-2002, 08:48 PM
lebanon2001's Avatar
lebanon2001 lebanon2001 is offline
 
Join Date: Nov 2002
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

fery nice

thanks my frindffdcsite

and

thanks my frindAnime-loo
Reply With Quote
  #7  
Old 11-24-2002, 02:41 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, I guess ^.-
Reply With Quote
  #8  
Old 11-24-2002, 07:16 PM
Rufus69's Avatar
Rufus69 Rufus69 is offline
 
Join Date: Oct 2002
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm I use this when my host gets back up....

looks good I'll tell ya what I think when I get it installed
Reply With Quote
  #9  
Old 11-25-2002, 12:11 AM
omega buster's Avatar
omega buster omega buster is offline
 
Join Date: Sep 2002
Location: Bali Indonesia
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack
thanks alot FFdcsite
install this ^^
Reply With Quote
  #10  
Old 12-04-2002, 06:15 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you Please post any problems
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:14 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.04254 seconds
  • Memory Usage 2,289KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete