News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

The Rules

Started by Deprecated, August 25, 2008, 05:42:14 PM

Previous topic - Next topic

Carver

Tried a 3rd time... running the install with the subs error and then making manual changes to the subs file....

Sources.Subs.
$buttons = array(
'home' => array(
'title' => $txt['home'],
'href' => $scripturl,
'show' => true,
'sub_buttons' => array(
),
'is_last' => $context['right_to_left'],
),
'forum' => array(
'title' => isset($txt['tp-forum']) ? $txt['tp-forum'] : 'Forum',
'href' => $scripturl . '?action=forum',
'show' => true,
),
'help' => array(
'title' => $txt['help'],
'href' => $scripturl . '?action=help',
'show' => true,
'sub_buttons' => array(
'tphelp' => array(
'title' => 'TinyPortal',
'href' => $scripturl . '?action=tpmod;sa=help',
'show' => true,
),
),
'rules' => array(
'title' => !empty($modSettings['rules_tab_label']) ? $modSettings['rules_tab_label'] : $txt['rules'],
'href' => $scripturl . '?action=rules',
'show' => $user_info['is_guest'] ? !empty($modSettings['rules_enable_guest_access']) : !empty($modSettings['rules_enable_member_access']),
'sub_buttons' => array(
),
),
),
'search' => array(
'title' => $txt['search'],
'href' => $scripturl . '?action=search',
'show' => $context['allow_search'],
'sub_buttons' => array(
),
),
'admin' => array(
'title' => $txt['admin'],
'href' => $scripturl . '?action=admin',
'show' => $context['allow_admin'],
'sub_buttons' => array(
'featuresettings' => array(
'title' => $txt['modSettings_title'],
'href' => $scripturl . '?action=admin;area=featuresettings',
'show' => allowedTo('admin_forum'),



Deprecated

You have an extra right parenthesis between my button and the search button.

Not to fear. I am currently reworking this mod to use integration hooks instead of file edits, to be released when it's right. Unfortunately I'm traveling for a few days so the update will not be available until perhaps sometime next week.

Deprecated

I retired in 2007. :)

You''re welcome!

Carver

I just removed, the extra one and got a white scree, replaced it..

Carver

#404
OK got it.... the extra comma was out of place, it needed above your button...

Thanks Again.... Thanks too for the mod...

NekoJonez

Is it just me or is the lay-out of the rules page bugged on custom themes?
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

Deprecated

I took a closer look and you have a missing right parenthesis in your help button.

What you did is insert the Rules code one line too high, and put the Rulles code inside the Help button code.

Off by one.

Carver

Quote from: Deprecated on February 05, 2014, 04:09:10 PM
I took a closer look and you have a missing right parenthesis in your help button.

What you did is insert the Rules code one line too high, and put the Rulles code inside the Help button code.

Off by one.

That is what happens when you know just enough about this stuff to be a danger to yourself..... LOL
Thank You

Deprecated

You're welcome. :) Remember that my mods are donation supported.

cortez

There is one slight error with this mod if template evaluation is not disabled:

http://xxx/forum/index.php?action=admin;area=modsettings;sa=rules
8: Undefined index: cols
File: /home/xxx/public_html/forum/Themes/default/languages/Help.english-utf8.php (show_settings sub template - eval?)
Line: 910

2.0.6, but probably appears on other versions too.

Anyway, thanks for this feature. :)

Sabre™

Welcome Back Dep!!! 8)
I'll remove the attachment I had somewhere here.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Deprecated

cortez, could you please say what version of this mod you are using?

And Sabre, nice to see you again! :)

live627


gigashiga

Extremely Sorry to post it here

I loved your mod look but no read. its support thread is locked and its not there in the mods section.
My humble request please if its possible and convenient for you than kindly make it available again for version 2.x 
Once again thanks for all the good work.

Kindest Regards





Kindred

???   This is the mod support thread... it is not locked - and it will work (with some minor tweaks) in 2.0.x
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

gigashiga

Quote from: Kindred on May 09, 2014, 07:39:32 AM
???   This is the mod support thread... it is not locked - and it will work (with some minor tweaks) in 2.0.x

Dear friend, Thankyou very much for the inspiration, I am talking about the marvelous mod "Look but no Read". If you mean minor tweak for the same mod
I am ready to do it manually.

Thank a million ton once again


Arantor

I couldn't honestly recommend the look-but-no-read approach. It keeps search engines out as well as guests, in general...
Holder of controversial views, all of which my own.


Kindred

WTF?    Why are you asking questions about one mod in the support thread for a completely different mod? ??? ??? ???

if the mod in question was locked, then mod requests would be where to post - not in a different mod support topic.

And, look but no read is the worst idea ever invented and will drive users away.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Sabre™

Here we have exhibit no.1

Quote from: gigashiga on May 09, 2014, 03:49:50 AM
Extremely Sorry to post it here

I loved your mod look but no read. its support thread is locked and its not there in the mods section.
My humble request please if its possible and convenient for you than kindly make it available again for version 2.x 
Once again thanks for all the good work.

Kindest Regards

and then exhibit no.2

Quote from: Kindred on May 09, 2014, 07:39:32 AM
???   This is the mod support thread... it is not locked - and it will work (with some minor tweaks) in 2.0.x

A pure case of "Looked but no read"

hahahaaa
Just playing Kindred, it made me laugh to know that even 'The Great One' sometimes misses a beat ;)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Advertisement: