Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 [split] Coding Question
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #8
RE: [split] Coding Question
And plodding slowly on, I have got this to display on forumdisplay, but on ALL forums. This was not my master plan.... My idea was to have multiple copies of this plug in...and to specify the forum id it showed on. That way EACH forum I have attachments in would have a banner of their own as specified from the ACP.  I got it to show on all forums by adding this to the code at line 172:

Code:
		elseif($GLOBALS['mybb']->settings['mnlatatgal_dsp'] == 'forum')
	{
		$GLOBALS['plugins']->add_hook('forumdisplay_start', 'mnlatatgal_run');


and adding the option "Forum" to the display settings. Now I would like to have this show on JUST the forum that I am pulling the attchments from - I am looking on the internet for "WHERE" statements as that seems logical.

Also, I ( rather belatedly) see that Rateu has asked that this plug in is not to be redistributed. I hope that this does not count as redistributing Erf



[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 06-06-2010 01:10 AM by leefish.)
06-06-2010 01:09 AM
Visit this user's website Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
[split] Coding Question - leefish - 06-05-2010, 05:40 AM
RE: [split] Coding Question - ZiNgA BuRgA - 06-05-2010, 09:14 AM
RE: [split] Coding Question - leefish - 06-05-2010, 09:35 AM
RE: [split] Coding Question - ZiNgA BuRgA - 06-05-2010, 10:20 AM
RE: [split] Coding Question - RateU - 06-05-2010, 10:27 AM
RE: [split] Coding Question - leefish - 06-05-2010, 10:15 PM
RE: [split] Coding Question - leefish - 06-05-2010, 10:53 PM
RE: [split] Coding Question - leefish - 06-06-2010 01:09 AM
RE: [split] Coding Question - RateU - 06-06-2010, 07:26 AM
RE: [split] Coding Question - leefish - 06-06-2010, 07:34 AM
RE: [split] Coding Question - RateU - 06-06-2010, 10:19 AM
RE: [split] Coding Question - leefish - 06-06-2010, 10:51 AM
RE: [split] Coding Question - walkman - 06-06-2010, 11:24 AM
RE: [split] Coding Question - RateU - 06-06-2010, 11:27 AM
RE: [split] Coding Question - leefish - 06-06-2010, 11:41 AM

 Standard Tools
Forum Jump: