Welcome Guest[3.136.26.156], connected from
[Help] Create a plugin
|
Post: #1
|
|||
|
|||
[Help] Create a plugin
Hi I want to create a plugin
I want to add a code to postbit template by activing that plugin! How can I add a code to a template by PHP in a plugin? |
|||
Post: #2
|
|||
|
|||
RE: [Help] Create a plugin
The standard way to accomplish this, for the "postbit" template, is to use this code :
PHP Code:[Highlight] require MYBB_ROOT.'/inc/adminfunctions_templates.php'; I hope this will help you, but normaly we are taking request for our own plugins! |
|||
01-21-2010, 03:36 PM
(This post was last modified: 01-21-2010 03:40 PM by Kevin.)
Post: #3
|
|||
|
|||
RE: [Help] Create a plugin
Really thanks and if I want to add a code to Header I have to change
find_replace_templatesets( "postbit", to find_replace_templatesets( "header", ? And another question I want to add {$asdpm} Variable after {$ignore_bit} in postbit would you please show me the way of it whith the code yo have gotten to me? |
|||
Post: #4
|
|||
|
|||
RE: [Help] Create a plugin
(01-21-2010 11:19 AM)exdiogene Wrote: I hope this will help you, but normaly we are taking request for our own plugins! You should read the message above, because you are still asking help for your own plugins isn't it? |
|||
Post: #5
|
|||
|
|||
RE: [Help] Create a plugin
I have understood but when I add HtML codes instead of "Whatever You Want To Add After The Variable Here" It gets's This error
Parse error: parse error in d:\program files\easyphp1-8\www\inc\plugins\topicstats.php on line 31 |
|||
Post: #6
|
|||
|
|||
RE: [Help] Create a plugin
Then this mean you made a syntax error in your code so it won't parse...
|
|||
Post: #7
|
|||
|
|||
RE: [Help] Create a plugin
is there tut on how to make plugings
|
|||
0 member(s) viewed this thread in the last 365 days :
|
« Next Oldest | Next Newest »
|
WWWHostingServer.com
|
||||||
|
||||||
|
Possibly Related Threads... | |||||
Thread: | Author | Replies: | Views: | Last Post | |
Recherche le plugin de ce forum : HitCounter Plugin | Pichorka | 2 | 352 |
06-12-2014 06:11 AM Last Post: Pichorka |
|
self open and close plugin | Philly | 0 | 1,121 |
07-28-2011 01:17 AM Last Post: Philly |
|
Connected From Plugin | H0AX | 1 | 1,357 |
07-02-2011 02:14 PM Last Post: exdiogene |
|
User Browser Detection Plugin or Script ? | H0AX | 6 | 2,003 |
06-30-2011 12:08 PM Last Post: H0AX |
|
I Would Like to request a tag cloud plugin | howman | 24 | 7,348 |
11-20-2010 02:57 PM Last Post: howman |
|
|
|
|
Powered By MyBB, © 2002-2024 MyBB Group. Golden Crown - Designed and Published by ghazal & exdiogene of MyBBCodes. Hosting provided by WWWHostingServer.com |