Members can only see a few menu buttons and Admin can see all of them.

Started by TW1ST3D, June 22, 2008, 12:56:12 PM

Previous topic - Next topic

TW1ST3D

I uninstalled the ad mod and now members cannot see all of the menu (navigation)  buttons.
I have tried everything that I know of to fix this problem , but haven't found a solution.

I am attaching the index.template that I am currently using.
Running 2.0 Gold.......SMF Rocks!!

metallica48423

i don't see anything out of the ordinary.  What can't they see?
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

TW1ST3D

screen shots attached.
Running 2.0 Gold.......SMF Rocks!!

N3RVE

index.template.php appears to be fine.
Look into permissions.

Permissions


-[n3rve]
Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Quote"Somewhere, something incredible is waiting to be known." - Carl Sagan

TW1ST3D

Running 2.0 Gold.......SMF Rocks!!

TW1ST3D

Running 2.0 Gold.......SMF Rocks!!

metallica48423

some of the buttons are controlled by a permission allowing someone to access a section, which i believe is what n3rve was getting at.  you should check your permissions and ensure the members in question have the necessary permission to access those particular sections of the site
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

Jumpmasterrt

In the Index.Template.php file isn't everything after the

// Is the user allowed to administrate at all? ([admin])
section only viewable by admins?

TW1ST3D

I can get the buttons to show for everyone by removing the "if ($context['allow_XXXXXX '])" command , but when clicked , gives a notice that they aren't allowed to view. I checked my permissions and there is nothing that I can check to allow or dis-allow members
Running 2.0 Gold.......SMF Rocks!!

TW1ST3D

where does the "if ($context['allow_smfgallery_view'])" lead to?
Running 2.0 Gold.......SMF Rocks!!

TW1ST3D

Quote from: JumpmasterRT on June 22, 2008, 03:47:52 PM
In the Index.Template.php file isn't everything after the

// Is the user allowed to administrate at all? ([admin])
section only viewable by admins?


so if I move all the button commands above this, they should work? is that what you are getting at? they have always been where they are now, with no troubles.
Running 2.0 Gold.......SMF Rocks!!

Jumpmasterrt

Yes, that was my thought... there's also some white space in the member list lines:

// the [member] list button
if ($context['allow_memberlist'])
echo '
//HERE IS WHERE THE WHITE SPACE IS IN YOUR FILE
  <a href="', $scripturl, '?action=mlist">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/mlist.gif" alt="' . $txt[2] . '" style="margin: 2px 0;" border="0" />' : $txt[2]), '</a>', $context['menu_separator'];

What changed between the time they last worked and when they stopped working.

Also, there are two entries for "Staff" but I only see one button, I also don't see the downloads section in your admin menu....

I realligned the button lines a bit and corrected the white space. Make a backup of your current file by adding a 1 at the end of the name and add a ~ after the .php then upload this one and see if it makes any difference. If it works great, if not it won't make any changes at all it'll just look neater when you open it in a txt editor. ;)

TW1ST3D

Problem is though , I don't have anything under the permissions tab to allow or dis-allow the permissions in question.

I uploaded the neater version of the file that you  attached and no change.
Running 2.0 Gold.......SMF Rocks!!

TW1ST3D

you can log on my site and see for yourself www.galxclub.com/forum

Running 2.0 Gold.......SMF Rocks!!

TW1ST3D

Quote from: TW1ST3D on June 22, 2008, 05:21:12 PM
you can log on my site and see for yourself www.galxclub.com/forum

log on name; test user
password ; testuser
i can pm you with admin name and password that I have set up just for this.
Running 2.0 Gold.......SMF Rocks!!

Jumpmasterrt

Yes please...

Coincidently I'm stationed in Augusta (currently deployed) and I drive a Ram 1500 SLT  ;)

TW1ST3D

Quote from: JumpmasterRT on June 22, 2008, 05:53:44 PM
Yes please...

Coincidently I'm stationed in August (currently deployed) and I drive a Ram 1500 SLT  ;)

trade that in for a charger and we will be in business !! LOl

PMing you now
Running 2.0 Gold.......SMF Rocks!!

Jumpmasterrt

I also don't see a button for PM's.... Hmmmm

or a "logout" button.

Are there two staff sections? There's two entries for buttons but one looks incomplete to me......

TW1ST3D

See.............I told you it got farked up !!  LOL !!!  it's functional but missing some things.
Running 2.0 Gold.......SMF Rocks!!

Jumpmasterrt

Yes it did..... WAY farked up. The Logout button shows when no one is logged in. (funny though)

I'm still lookin at it... trying to figure out what happened. This theme is just a variation of the Babylon theme, yes?

Advertisement: