Search found 8 matches
- Fri Aug 20, 2010 12:02 am
- Forum: Developers Discussion
- Topic: How can you alter core features with a custom module?
- Replies: 2
- Views: 1729
How can you alter core features with a custom module?
I would like to create a module which would add some extra functions when a new page is made. So I would like to make the module add a checkbox to the page edit form which would run a bit of my own code when submit or apply is pressed. But I don't know where to start. I searched all over but couldn'...
- Thu Aug 19, 2010 4:07 pm
- Forum: Tips and Tricks
- Topic: SMF Forum Integration
- Replies: 0
- Views: 3830
SMF Forum Integration
This is how I got CMSMS to utilise the SSI functions which come with Simple Machines Forum. They allow you to display details from your forum outside of your forum pages. First you need to make some changes in SMF's files so open up your FTP. Find load.php which will be in 'SMFroot' /Sources/ where ...
- Thu Aug 19, 2010 3:31 pm
- Forum: Developers Discussion
- Topic: Variables for a User Defined Tag
- Replies: 2
- Views: 1733
Re: Variables for a User Defined Tag
Ah. I had parameters confused with variables. Still learning. Thank you. I have it now. I made an UDT called smf_include and used... $ssiprefix = 'ssi_'; $ssiparam = $params['include']; $ssiinclude = $ssiprefix . $ssiparam; $ssiinclude(); SO I can call {smf_include include="welcome"} and i...
- Thu Aug 19, 2010 2:51 pm
- Forum: Developers Discussion
- Topic: Variables for a User Defined Tag
- Replies: 2
- Views: 1733
Variables for a User Defined Tag
Hello. I am integrating SMF with cmsms and have managed to get it working. I first have a UDT with.. require_once('underhive/forum/SSI.php'); $Referrer = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; $_SESSION['login_url'] = $Referrer; I declare this at the very start of my template b...
- Mon Dec 21, 2009 3:58 pm
- Forum: Developers Discussion
- Topic: Extra fields in Page/Content/Options
- Replies: 1
- Views: 1447
Extra fields in Page/Content/Options
How hard would it be for me to create a tag which could say, create a radio button or text field on the contents or preferably options page. For example in the same way including a content tag creates a field in the backend for a page which uses a template with said content tag, can I create a radio...
- Wed Sep 30, 2009 3:26 pm
- Forum: General Discussion
- Topic: Retrieving Extra Page Atributes
- Replies: 4
- Views: 2298
Re: Retrieving Extra Page Atributes
Ok, thankyou. Do you know how I can get that in an XML file with the 'title' from the same page?
- Wed Sep 30, 2009 12:10 pm
- Forum: General Discussion
- Topic: Retrieving Extra Page Atributes
- Replies: 4
- Views: 2298
Re: Retrieving Extra Page Atributes
Ok after reading into more into it ( :-\ bear with me) I can see that doesn't make much sense. From what I can gather, since I don't want this info visible on my site rather than printing to a tag in the template i want to be printing the values I retrieve from the database onto a xml file, which my...
- Wed Sep 30, 2009 11:04 am
- Forum: General Discussion
- Topic: Retrieving Extra Page Atributes
- Replies: 4
- Views: 2298
Retrieving Extra Page Atributes
Hello, recently set up CMSMS with my small site to make things easier to update. Think it's great. I am currently wanting to get a flash swf to comunicate with my site using this method here http://www.kirupa.com/developer/actionscript/flash_php_mysql.htm TO be more specific, I have set up youtube a...