Hello There, Guest! › Register

MySubscriptions 2.2 released.
Looking for a custom plugin for your site? Ask here for a quote.

Solved Quick Question

Im creating a simple plugin , was wondering how i can change the setting in the code below with an actuall value rather than use the setting itself:

Quote:if (($postcounter % $mybb->settings['setting_1']) == 0)

the value of the "red setting is "6" so basically i need to do this:

Quote:if (($postcounter % 6 == 0)

or something along those lines.
I got it :

if (($postcounter % 6) == 0)


thanks anyway guys

Unfortunately you do not have sufficient rights to view replies in this thread. For full access, consider upgrading.

Users browsing this thread: 1 Guest(s)