News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Default Board Redirect Lite

Started by live627, June 18, 2011, 08:58:24 AM

Previous topic - Next topic

live627

Link to Mod

This mod changes the default redirection from the board index to a board specified by the admin.

No edits are made to the SMF core, practically eliminating mod conflicts when uninstalling and installing this.

There's a bug in SMF 2.0 RC5 that prevents the admin settings section from showing up. However, it'll be fixed once final debuts and is simply a matter of moving one line of code to fix.

Code (Find in ./Sources/ManageSetttings.php) Select
call_integration_hook('integrate_modify_modifications', array(&$subActions, &$context[$context['admin_menu_name']]['tab_data']['tabs']));

That line needs moved to the whitespace above

loadGeneralSettingParameters($subActions, 'general');

Apllicmz

Thanks
When Update
dont forget
portuguese files




Martingonnella

Hello,

When accessing admin, I get "Parse error: syntax error, unexpected T_DOUBLE_ARROW in /home/protonic/bbs.protonic.com/htdocs/SMF/Sources/ManageSettings.php on line 386
"

I tried following your instructions about line of bug, but getting confused...Is this normal?

Martin. Your help would be appreciated

Martingonnella


SSimple Team

please attach your ManageSettings.php




Mi Web: SMFSimple.com -

Martingonnella

attached. Many Thanks...

I know I'm asking alot here, but If you could possibley correct this for me and re-attach it, it would really really be appreciated...Thank you!!!.. Martin



live627

Can you open your own support topic?

Martingonnella

I need help..and Yes I can open my own support topic. Can you help Live627?

I was told to send in my php file and have, but not heard anything.

live627

Line 386 is literally a blank. Which mod did you install to get this? Are you sure this is the right file?

The reason I didn't go take a peek before was because it wasn't caused by this mod -- it does not modify any file.

Still, your problem would get more exposure in its own support topic. So do it already. :)

[Lucien]

Hello there, thank you for this nice mod, can it be used to redirect to the arcade instead of the boardindex?

Thank you for any help!
I'm using SMF 2.0.2 and SimplePortal 2.3.4

Donny Bahama

This is just what I was looking for - almost. I need it to be able to specify different redirect pages based on the user group. Does this exist? (And/or could it be easily added?)

DBAllTerrain

Sorry to resurrect an old thread, but I'm wondering if this mod should still be working. I have an SMF install along with Tiny Portal and the default redirect as is goes to the front page and not the board index. I thought this mod would solve my problem, but I still get redirected to the Tiny Portal front page. Can you help?

Advertisement: