Mod Adk Portal (2.1.1)

Adk portal is a portal integrated to SMF, with multiple extensions and features.
The portal is aimed at simple and intuitive to the Administrator.
It has all the characteristics of portal, in addition to having a great set of downloads, system of internal pages, etc.

Mod Adk Seo (3.0)

Adk Seo is an internal system of SMF to improve your ranking.
It has powerful features to appear on the top of major search engines.
With this product, you can change your urls, choose your format, encouraging social activity on your site, place their own sitemaps, etc.
Mod Adk Blog (3.0)

Adk blog is an internal system of SMF to help encourage business users.
This product will create a space where your users can use as your own blog, creating categories, entries, and managing your comments.


Need help making certain things only showing up on the forum


Board:

Support

Topic:

Need help making certain things only showing up on the forum


Description:

Support Forum adk portal

Author Topic: Need help making certain things only showing up on the forum  (Read 432 times)

0 Members and 1 Guest are viewing this topic.

Need help making certain things only showing up on the forum

Satros

  • Newbie
  • *
  • Posts: 10
    • View Profile
Need help making certain things only showing up on the forum
« on: December 18, 2011, 03:55:40 AM »
So basically there are some parts of my forum I hard coded into my theme, but I only want them to show up on the forum page, not the rest of the portal (front page and any modules I am looking for).

How can I create an if statement(in php) that checks if "index.php?action=forum" that way I can just put an if statement to include the code if its the forum, and if not it will just ignore it.

I'm not too good with php but know enough to edit it. Any help would be appreciated.

Unido automaticamente - {December 18, 2011, 03:04:40 PM}


Sorry for the double post, but I figured it out, the code is

Code: [Select]
if ($context['current_action'] == 'forum')
{
             //Code you want to show up only on the forum here
        }

I have one more question though, how can I hide the "||Views: 24" next to the page names? I cant seem to find it in any of the code
  • ADK 2.0.1
  • SMF 2.0.1

Sorry visitor. To access the SMF Personal answers, you need to Register or Login.

Atte. SMF Personal

Tags

stuff - how - the - - smf - portal - add -
 



Related topics / Otros temas de su interes

  Topic Author Date  
About Adk Portal V2.0 Rc2 (Working) Snailx March 13, 2010, 10:34:56 PM
Extreme Download System Error DasVON October 18, 2011, 05:52:51 AM
ADK Blog NOT WORKING Don Houston September 08, 2011, 09:04:00 AM
Problem editing permissions on the MOD "Download" ADK Portal 2.0.1 jschav88 December 06, 2011, 07:06:18 AM
extra columns unoit July 12, 2011, 05:04:52 AM
Problem with Bogs eB|Kami September 15, 2010, 04:29:39 PM


 
Application Parser To Mod

It is a system developed by SMF Personal, similar to parse smf, but with the difference that it not only show us the steps to install mods but also show us the steps to uninstall and update mods.
The mods that can be analyzed are obviously those who are raised in SMF Personal.
Section Mods

In this section you will find all mods done by the staff and users of SMF Personal.
The mods are displayed in a simple and easy to read.
Section Tutorials

In this section you will find all the tutorials made by our staff and users of SMF Personal.
The tutorials are displayed in a simple and easy to read.

SMF 2.0.2 | SMF © 2011, Simple Machines | Adk Portal 2.1.1 © SMF personal  & Adk Seo 3.0
This site is not affiliated with or endorsed by Simple Machines