Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My First Plugin
Author Message
sushruth
Member


Posts: 53
Joined: May 2009
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 66
Post: #1
My First Plugin

Hello guys..

I did not know where to post this so, I'm posting it here (mods : please move to correct section)

My first plugin (Actually does) :

  • Initial release :
    • Replaces ul text In posts by the title of the url
    • Appends the text given by the user at the end of title
    • If link is a direct download link, or a link without a title, it presents the user's text as the text of the url
  • Need to add :
    • An ACP setting to set the board domain name ONLY and also, to set if the title needs to be appended by the user's text
    • I need someone to guide me through this ACP thing (sorry.. a noob here :))
  • Future plans :
    • A rapidshare/megaupload/any file sharing link checker along with "title as text"
    • Also, to return the error finding the url if any (like 500,404 etc.,)

Any experienced mod authors please correct me and guide me :)

Link o Mod :

Download Here : MyBB Community Release Thread

(This post was last modified: 06-24-2009 04:40 PM by sushruth.)
06-24-2009 02:24 PM
Nickman
Manager



Posts: 1,907
Joined: May 2008
Reputation: 37
Thanked 28 Times in 14 Posts
MyBux: 934
Post: #2
RE: My First Plugin

For the ACP setting, basically in the _install function you add the setting into the settings table and then call rebuild_settings();

then in in _uninstall you remove the settings.

06-24-2009 03:16 PM


sushruth
Member


Posts: 53
Joined: May 2009
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 66
Post: #3
RE: My First Plugin

(06-24-2009 03:16 PM)Nickman Wrote:  For the ACP setting, basically in the _install function you add the setting into the settings table and then call rebuild_settings();

then in in _uninstall you remove the settings.

sorry... but I am A stupid beginner :(

i'm not getting a word that you are saying. !!

06-24-2009 03:34 PM
Nickman
Manager



Posts: 1,907
Joined: May 2008
Reputation: 37
Thanked 28 Times in 14 Posts
MyBux: 934
Post: #4
RE: My First Plugin

You should download one of my plugins and look at the plugin file (file that goes in inc/plugins). That should get you on the right track.

06-24-2009 03:41 PM


sushruth
Member


Posts: 53
Joined: May 2009
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 66
Post: #5
RE: My First Plugin

(06-24-2009 03:41 PM)Nickman Wrote:  You should download one of my plugins and look at the plugin file (file that goes in inc/plugins). That should get you on the right track.

Thanks :)
Sorry for the double post :( (i wanted to make this thread visible in index to get help)

Can you tell me the list of settings that i canadd .. like, yesno, textarea... etc., ??


EDIT : ACP settings added :)

Download Here : MyBB Community Release Thread

(This post was last modified: 06-24-2009 04:38 PM by sushruth.)
06-24-2009 03:42 PM
Jake
Member


Posts: 58
Joined: May 2009
Reputation: 1
Thanked 0 Times in 0 Posts
MyBux: 10
Post: #6
RE: My First Plugin

Nice, But I wont be needing it, But Congrats for your first plugin, It will be usefull for many where users post links to malware etc

(I dont allow links on my forum, they get locked out)

06-25-2009 01:40 AM


ridwan sameer
Junior Member


Posts: 7
Joined: Jan 2009
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 0
Post: #7
RE: My First Plugin

This would get alot of attention once you make it a link checker, there'll be more warez forums run with MyBB which is great since warez forums get a lot of exposure

06-25-2009 04:41 AM
sushruth
Member


Posts: 53
Joined: May 2009
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 66
Post: #8
RE: My First Plugin

(06-25-2009 04:41 AM)ridwan sameer Wrote:  This would get alot of attention once you make it a link checker, there'll be more warez forums run with MyBB which is great since warez forums get a lot of exposure

Lol I own a warez forum.. i wont post its links though.. see my profile :)

06-26-2009 12:05 AM


thefreestyler
Junior Member


Posts: 35
Joined: Jun 2009
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 38
Post: #9
RE: My First Plugin

MyBB Community Forums
The specified thread does not exist.

I think that the plugin was delated

06-26-2009 05:28 AM
ccpb
Junior Member


Posts: 5
Joined: Jun 2009
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 0
Post: #10
RE: My First Plugin

seems to be interesting.. will wait for your final plugin bro..

06-27-2009 08:19 AM


 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Plugin Template Nickman 0 151 01-26-2009 04:12 AM
Last Post: Nickman



New to MyBBSource?Need Assistance?
  • Mark Forums Read
  • View Forum Staff
  • Looking for a MyBB Host?




Theme created by AK-47. Find more great themes and skins at K! Dezign Web Design
Wordpress Web Design