REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Plugin or MOD
#1
I know that from using phpbb, MODs are not easy for the user to work with, and at many times, have conflicts with each other.

I like the idea of plugins to replace mods, but is there a way to automatically add a section to a theme's menu?( I haven't seen it thus far).

And If I wanted.... let's say.. "packages" that the user can create then customize in the Admin CP, is that possible? It isn't from what I have seen on plugins.

How do I get the above functionality?
Reply
#2
Automatically add a section to a themes menu?

Hmm...do you mean like in the toplinks or welcome panel a new link? There are 2 good ways to accomplish this in a plugin.

1. Search and replace in the template.
2. Use preg_replace() to add your link on the fly.


I have used both methods. You can view my google analytics plugin to see option 2 in action. And you can view my inline_ads plugin to see option 1 in action.

Goodluck.
Reply
#3
sounds good, it could interest many people.
Reply
#4
Okay, thanks!

I will look into those.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
Exclamation bans.php Plugin? Salsut 14 8,334 Jul 03, 2017, 08:15 PM
Last Post: Farrahs
  mytab plugin does not function on my theme bushido 1 1,386 Jul 04, 2016, 11:01 PM
Last Post: Prince Tony
  Really need a plugin that blocks proxys getxoan 0 1,129 Nov 10, 2015, 07:32 PM
Last Post: getxoan
  proxy blocking plugin mybb 1.8x omfgomfg 1 1,734 Jul 06, 2015, 07:04 AM
Last Post: Nisva
  Avatar dim for each usergroup 1.6 > 1.8 (Plugin) X-Shadow 1 2,203 Jun 18, 2015, 11:12 AM
Last Post: Nasyr

Forum Jump:


Users browsing this thread: 1 Guest(s)