A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Move Login / Register Header To Footer
Mar 1, 2010
10:06 pm
Rookie
Forum Posts: 3
Member Since:
Mar 2, 2010
Offline

Hi,

I would like to move Login/ register Header Strip fom the top part of the Topic page to the bottom, that way, the actual post content is displayed first.

I have been able to turn it off using the code below in the pluggable.php file, but I can't figure out how to then turn on the login/registration bar just before the footer .. can you please help … what is the best way to achieve this?

 

/* sf-page-components.php */
function sf_render_login_strip($source, $pageview, $button)
{
    return '';
}

Mar 2, 2010
3:50 am

SP Master
Forum Posts: 22131
Member Since:
Nov 9, 2008
Offline

Well it is certainly possible.

You need the file sf-page.php.

Locate these two lines of code:

$out.= sf_render_login_strip('forum', $pageview, 'inbox');
$out.= sf_render_login_form();

and copy them and comment them out.

Go to the bottom of the file and locate this line:

$out.= sf_render_stats();

and paste the above to lines just above this one.

Yellow Swordfish
Mar 3, 2010
7:26 pm
Rookie
Forum Posts: 3
Member Since:
Mar 2, 2010
Offline

Thanks for your answer, that did help.

Where do I make changes to move the topic title with the Information tag to the footer?

 

You can see the section I'm referring on the current post as:

 

Move Login / Register Header To Footer

Information  

Mar 3, 2010
7:28 pm

SP Master
Forum Posts: 23587
Member Since:
Dec 10, 2006
Offline

I dont understand… you can have MANY topic titles on a page… and you want to move them to the site footer???

Mar 3, 2010
7:39 pm
Rookie
Forum Posts: 3
Member Since:
Mar 2, 2010
Offline

Sorry, for being unclear:

 

I want to move the Topic Title to the Footer. For clarification purposes, it's the title on the page that has an Information Icon besides it.

I just want readers to read the content of the topic without having to deal with all the extra topic header titles and info … does that help?

Thanks

Mar 4, 2010
3:50 am

SP Master
Forum Posts: 22131
Member Since:
Nov 9, 2008
Offline

Ah – you mean the topic header. Looks for calls to the function sf_render_main_header_table()

Yellow Swordfish
Forum Timezone: America/Chicago

Most Users Ever Online: 444

Currently Online: VikingBrent
61 Guest(s)

Currently Browsing this Page:
1 Guest(s)

See All Online Activity

Top Posters:

-Radio-: 1251

Lee H: 606

Luffer: 535

Conrad_Farlow: 485

jim: 478

neon: 263

ovizii: 240

Tal: 240

Member Stats:

Guest Posters: 2616

Members: 7328

Moderators: 1

Admins: 2

Forum Stats:

Groups: 5

Forums: 16

Topics: 10839

Posts: 79131

Moderators: Brandon C (158)

Administrators: Yellow Swordfish (22131), Mr Papa (23587)