News:

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

Main Menu

I want to remove some elements.

Started by SwapsRulez, June 25, 2008, 02:15:42 PM

Previous topic - Next topic

SwapsRulez

I'm using SMF 2.0 Beta 3 With Third Party Theme. But it does have only index.template.php file. Other file it uses from default theme. :)

Project-BB.org > Seminar Presentations & E-Books > Programming Tutorials (Moderators: Swanky, cyberfox) > Topic: Visual Basic 6 Programming Tutorials


I dont want this ->       (Moderators: Swanky, cyberfox)

To be shown there. But they must appear in board index page. Thanks in advance.




http://i28.tinypic.com/2zsqrfo.jpg
Project-BB.org : Educational Forum For Engineering, Diploma & Technical Students

The Engineering, Diploma & All technical students lounge for Free Projects, Seminars, Syllabus, Question Papers, College Assignments, Placement Papers, E-Books, Company Information & other technical stuffs.

Owdy

That Previous/next link you can remove from settings, that bottom link tree is in Display.template.php.
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

SwapsRulez

Quote from: Owdy on June 25, 2008, 04:08:11 PM
That Previous/next link you can remove from settings, that bottom link tree is in Display.template.php.

Nice thanks worked. I do want one more little setting please.

Project-BB.org > Seminar Presentations & E-Books > Programming Tutorials (Moderators: Swanky, cyberfox) > Topic: Visual Basic 6 Programming Tutorials


I dont want this ->       (Moderators: Swanky, cyberfox)

To be shown there. But they must appear in board index page. Thanks in advance.
Project-BB.org : Educational Forum For Engineering, Diploma & Technical Students

The Engineering, Diploma & All technical students lounge for Free Projects, Seminars, Syllabus, Question Papers, College Assignments, Placement Papers, E-Books, Company Information & other technical stuffs.

SwapsRulez

Project-BB.org : Educational Forum For Engineering, Diploma & Technical Students

The Engineering, Diploma & All technical students lounge for Free Projects, Seminars, Syllabus, Question Papers, College Assignments, Placement Papers, E-Books, Company Information & other technical stuffs.

SwapsRulez

Project-BB.org : Educational Forum For Engineering, Diploma & Technical Students

The Engineering, Diploma & All technical students lounge for Free Projects, Seminars, Syllabus, Question Papers, College Assignments, Placement Papers, E-Books, Company Information & other technical stuffs.

metallica48423

so you want it to show on the board index, but not while inside a board?  you should be able to do it by removing the following code from MessageIndex.template.php


                        // Show the "Moderators: ". Each has name, href, link, and id. (but we're gonna use link_moderators.)
                        if (!empty($board['moderators']))
                                echo '
                                       <div style="padding-top: 1px;"><small><i>', count($board['moderators']) == 1 ? $txt['moderator'] : $txt['moderators'], ': ', implode(', ', $board['link_moderators']), '</i></small></div>';
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

SwapsRulez

Thanks, worked like a charm. You brought a smile & happiness by helping me in three questions. :)
You are doing a great job.
Project-BB.org : Educational Forum For Engineering, Diploma & Technical Students

The Engineering, Diploma & All technical students lounge for Free Projects, Seminars, Syllabus, Question Papers, College Assignments, Placement Papers, E-Books, Company Information & other technical stuffs.

SwapsRulez

Hey, sorry but its there in the Post. Means in any perticular post. I was thinking the messageindex will do that. But i can see the moderators when i open any perticular post.

How to remove that ?
Project-BB.org : Educational Forum For Engineering, Diploma & Technical Students

The Engineering, Diploma & All technical students lounge for Free Projects, Seminars, Syllabus, Question Papers, College Assignments, Placement Papers, E-Books, Company Information & other technical stuffs.

metallica48423

there should be a very similar code block in Display.template.php which shows that -- removing that would remove it from the topic display
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

Advertisement: