Page Index Toggle Pages: [1] 2  Send TopicPrint
Very Hot Topic (More than 25 Replies) MenuItems 1.5 for SP 1 - 1.3 (Read 8207 times)
ironwing
God Member
*****
Offline


I love YaBB 1 Gold!

Posts: 2330
Location: Sonoran Desert
Joined: Nov 20th, 2001
MenuItems 1.5 for SP 1 - 1.3
Apr 14th, 2003 at 9:04pm
Print Post  
Here is the MenuItems mod which allows the Admin to add/modify/delete links on the YaBB mani menu (top menu) from the comfort of the Admin Center.

Link Removed as mod has been added to the mod database.


Be sure to read the Help file before installing.

Dan
« Last Edit: May 9th, 2003 at 5:58pm by ironwing »  

Please include your forum address in all requests for assistance.  It greatly speeds things along.
Back to top
WWW  
IP Logged
 
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: MenuItems 1.5 for SP 1 - 1.3
Reply #1 - Jul 3rd, 2003 at 12:22pm
Print Post  
I'm not sure that the latest version of this mod (I think is ver 1.5).

Has the option for menutext only in the MenuItem or not?
Thanks
  

   
Back to top
 
IP Logged
 
ironwing
God Member
*****
Offline


I love YaBB 1 Gold!

Posts: 2330
Location: Sonoran Desert
Joined: Nov 20th, 2001
Re: MenuItems 1.5 for SP 1 - 1.3
Reply #2 - Jul 3rd, 2003 at 3:30pm
Print Post  
Yes and no.  The MenuItems mod still uses the default YaBB text only setting so if you check the text only option on the Forum Prefs page the MenuItems menu will be text only but then you will also lose other icons throughout the forum.

However, you could create a 1x1 transparent gif file and use it as the icon for all your menu items so you could have an image free menu and keep the other forum icons.

Dan
  

Please include your forum address in all requests for assistance.  It greatly speeds things along.
Back to top
WWW  
IP Logged
 
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: MenuItems 1.5 for SP 1 - 1.3
Reply #3 - Jul 3rd, 2003 at 4:44pm
Print Post  
Quote:
However, you could create a 1x1 transparent gif file and use it as the icon for all your menu items so you could have an image free menu and keep the other forum icons.


Grin Thankz Good trick
  

   
Back to top
 
IP Logged
 
Gabriel
Guest


Re: MenuItems 1.5 for SP 1 - 1.3
Reply #4 - Jul 14th, 2003 at 10:39pm
Print Post  
If you decide to make one of the "extra" menues available only for a certain membergroup, will it still be possible to reach that menu if you know the url, or will the mod check if the user is logged in as the permitted membergroup. If not, does anyone know of such mod?

Best regards,

Gabriel
  
Back to top
 
IP Logged
 
Christer Alexander
God Member
*****
Offline


Make my day...

Posts: 3443
Location: Lethbridge
Joined: Feb 10th, 2002
Gender: Male
Re: MenuItems 1.5 for SP 1 - 1.3
Reply #5 - Jul 14th, 2003 at 11:14pm
Print Post  
No, this mod won't check the permissions. That would have to be done in the script itself.

Are you talking about a YaBB feature or an external script?
  

Code
Select All
unless(0) { stab("LoonyPandora"); next; } 

Back to top
IP Logged
 
Gabriel
Guest


Re: MenuItems 1.5 for SP 1 - 1.3
Reply #6 - Jul 15th, 2003 at 4:15pm
Print Post  
Hi, thank you for your answer. I would prefere having it as a yabb feature since I don't want to force my users into registering twice. If that's not possible I could use an external script, but that I can  find on my own.

Best regards,

Gabriel
  
Back to top
 
IP Logged
 
Gabriel
Guest


Re: MenuItems 1.5 for SP 1 - 1.3
Reply #7 - Jul 15th, 2003 at 4:19pm
Print Post  
Hi again, I read your post more carefully and now I understand what you meant with "That would have to be done in the script itself". You mean using menuItem to point to a script checking the permission? Or...

/Gabriel
  
Back to top
 
IP Logged
 
ironwing
God Member
*****
Offline


I love YaBB 1 Gold!

Posts: 2330
Location: Sonoran Desert
Joined: Nov 20th, 2001
Re: MenuItems 1.5 for SP 1 - 1.3
Reply #8 - Jul 15th, 2003 at 6:46pm
Print Post  
MenuItems checks to see if the user is a guest/member/member-of-a-member-group/administrator and provides the menu items appropriate for the user's status.  Who sees which items is set by the admin.  That is the extent of the permission checking that the MenuItems mod provides.

If you want to check the status of users accessing your script then you would need to provide the code for that in your script.

For example, you could use MenuItems to provide a link to URL=MyScript whatever that might be and set up the menu item so that only admins would see the link on the YaBB menu.  If you provide no more protection within your script then anyone with the URL to MyScript could go to your script and use it.  MenuItems only sets up the links to other actions, it doesn't control access to those actions (other than through obscurity, a poor form of protection).  To protect MyScript you would need to add the user access control within MyScript.  Since you are using YaBB I suggest borrowing YaBB's user verification code since it is already written and you might save yourself some work.

Dan
  

Please include your forum address in all requests for assistance.  It greatly speeds things along.
Back to top
WWW  
IP Logged
 
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: MenuItems 1.5 for SP 1 - 1.3
Reply #9 - Jul 15th, 2003 at 7:10pm
Print Post  
This mod works great anyone can test how it works on my forum

USERNAME:tester99
PASSWORD:tester99

  

   
Back to top
 
IP Logged
 
Gabriel
Guest


Re: MenuItems 1.5 for SP 1 - 1.3
Reply #10 - Jul 15th, 2003 at 9:22pm
Print Post  
Thank you for your answers, you made it all clear to me. Now I only have to figure out how to reuse the yabb verification code, will probably take som time  Smiley

/Gabriel
  
Back to top
 
IP Logged
 
DocRST
God Member
*****
Offline


Dont get use to it!

Posts: 1846
Location: Oklahoma City
Joined: Aug 24th, 2002
Gender: Male
Re: MenuItems 1.5 for SP 1 - 1.3
Reply #11 - Jul 16th, 2003 at 2:40pm
Print Post  
Wow that ~Doctor San~ is a babe.

Lots of clutter, Menus look good without Icons.
  

Doc Cowles
Web Master
YourWebSpace.com  -  Free YaBB hosting
docrst@yahoo.com
Back to top
IP Logged
 
delrick
Senior Member
****
Offline


Write more...talk less

Posts: 362
Location: Fort Smith
Joined: Nov 28th, 2002
Gender: Male
Re: MenuItems 1.5 for SP 1 - 1.3
Reply #12 - Aug 4th, 2003 at 5:12am
Print Post  
When MenuItems is enabled I lose the member of the day tag...any suggestion why and how I can get them to both work together.
« Last Edit: Aug 4th, 2003 at 11:12pm by delrick »  

Delrick Gist
Writer's Block

WRITERSBLOCK.COM
Back to top
IP Logged
 
ironwing
God Member
*****
Offline


I love YaBB 1 Gold!

Posts: 2330
Location: Sonoran Desert
Joined: Nov 20th, 2001
Re: MenuItems 1.5 for SP 1 - 1.3
Reply #13 - Aug 4th, 2003 at 2:59pm
Print Post  
Looks like you have it working now, or did you turn MenuItems off?.

Dan
  

Please include your forum address in all requests for assistance.  It greatly speeds things along.
Back to top
WWW  
IP Logged
 
delrick
Senior Member
****
Offline


Write more...talk less

Posts: 362
Location: Fort Smith
Joined: Nov 28th, 2002
Gender: Male
Re: MenuItems 1.5 for SP 1 - 1.3
Reply #14 - Aug 4th, 2003 at 11:11pm
Print Post  
yep..I turned it off until I can find a cure.
  

Delrick Gist
Writer's Block

WRITERSBLOCK.COM
Back to top
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint