MyBB Community Forums

Full Version: OUGC Awards
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
Thanks Omar G.
+1.
So i am wanting to add tab menu to my Awards page. Is there a variable that calls on categories? For example, General awards is category 1

so would there be something i can use to show just those awards and associate them to a tab menu
There is not such variable, but according to the templates provided by the plugins you should be able to add tabs without an issue.

At least I would be able to do it just editing templates in addition to the Semantic UI library.
https://semantic-ui.com/modules/tab.html
Questions about that plugins can we Create Award other of Picture Unlocked by user like Content or other they can only See if they have unlock etc i try to find other idea with that plugins
I suppose you could create a MyBB task to grant an award to users for unlocking certain content with the Lock or Hide content plugins.

But I wont add that to the task feature of this plugin.
(2020-08-08, 01:02 AM)Omar G. Wrote: [ -> ]I suppose you could create a MyBB task to grant an award to users for unlocking certain content with the Lock or Hide content plugins.

But I wont add that to the task feature of this plugin.

ok i understand
(2020-07-29, 09:36 PM)Omar G. Wrote: [ -> ]Hi, I have added a new FAQ to solve your issue. Check the FAQs section in the following link:
https://ougc.network/entry?view-my-award...esn-t-work

I follow your advice for how to display awards in raw in profile.
It works but heading of User's )Admin's) awards is not displayed. like User's Signature etc..
https://prnt.sc/uc2nie

Also awards not splitted on postbit.
The templates to edit for the style you want are the same.
https://ougc.network/entry?how-can-i-cha...ne-display
i change award request enable but in specific award page request button not showing. 

[Image: 08ef4c96c3f2acfd35a8e0ffc3b9e928.png]

acchually i make different award page where i want request button work. now its showing like this whien i check request button
here is my code .

<div class="awards-col" id="cat_3">
	<div class="awards-row d-flex align-items-center">
		<div class="award-icon">
			<a href="https://darkforums.net/awards.php?view=1" title="Premium Member">
				<img src="https://darkforums.net/award/Premium Member.png" alt="Premium Member" />
			</a>
		</div>
		<div class="awards-table-cell">
			<a href="https://darkforums.net/awards.php?view=1" title="Premium Member">Premium Member</a>
			<br>
			<span class="smalltext">Only a select few are lucky enough to receive this.</span>
			<br>
		</div>
		<a href="javascript: void(0);" onclick="return OUGC_Plugins.RequestAward('1'); return false;" title="Request" class="button" style="margin-left: auto !important">Request</a>
	</div>
</div>


[Image: 5da11766aa907a9421dcfd78b2f3c1a3.png]

and sir i also check you this solution https://ougc.network/entry?how-can-i-cha...ne-display
but its look like without thead

[Image: f5775c96c777a85f42287118c8514773.png]
(2020-11-13, 08:58 AM)bhuto Wrote: [ -> ]i change award request enable but in specific award page request button not showing. 

Award requests need to be enabled in both the category and the specific award.

(2020-11-13, 08:58 AM)bhuto Wrote: [ -> ]acchually i make different award page where i want request button work. now its showing like this whien i check request button
here is my code .

To display a request button you have to use the following HTML:
<a href="javascript:OUGC_Plugins.RequestAward('1');" class="button new_thread_button"><span>Request</span></a>

or:
<a href="javascript: void(0);" onclick="return OUGC_Plugins.RequestAward('1'); return false;" title="Request" class="postbit_report"><span>Request</span></a>

(note that 1 is the award id.)

Or any similar code, while also making sure the JS is loaded into the page.
http://mybb/jscripts/ougc_awards.js

You could create a MyCode to insert this into posts and it should work. (See attachment for example.)

(2020-11-13, 08:58 AM)bhuto Wrote: [ -> ]and sir i also check you this solution https://ougc.network/entry?how-can-i-cha...ne-display
but its look like without thead

That specific tutorial is supposed to remove everything but awards, so your result is correct. You need to edit the mentioned templates to your needs for whatever result you desire.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49