miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Specific miniBB Support Forums / Specific /  
 

reporting forums message

 
Author Steve Shaw
Partaker
#1 | Posted: 10 Jul 2013 12:54 
Ok - one problem fixed, but that something else I don't understand...

I'm struggling with the reporting forums message instructions, really because I'm a dunce with PHP:

1) In bb_plugins.php, create a function named parseMessage(), and before the 'return' statement, paste the code located under bb_plugins_parseMessage.code.txt. If such function is already present for other add-ons, just paste the PM code before the 'return' statement. Do not duplicate the name of the function since it will produce a critical PHP execution error.

Can you provide a bit more instruction?

Where exactly do I create the function, and what should it look like???
And what does a 'return' look like???

Dumb questions I know!!!!

;o(

Author Paul
Lead Developer 
#2 | Posted: 10 Jul 2013 13:08 
Use Compiler, embed the add-on you want, download the package and analyze how it's being installed.

Specific miniBB Support Forums / Specific /
 reporting forums message
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Check out the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑