Thread Rating:
  • 15 Vote(s) - 4.13 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] OUGC Awards
Thanks Omar G.
+1.
Reply
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
Reply
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
Reply
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
Reply
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.
Reply
(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
Reply
(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.
Reply
The templates to edit for the style you want are the same.
https://ougc.network/entry?how-can-i-cha...ne-display
Reply
This user has been denied support. This user has been denied support.
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]
Reply
(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.


Attached Files Thumbnail(s)
   
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)