SocialAcademy • Forum

Social Academy Community Support Forum & Free Tutorial's & Skins



SocialAcademy • Forum » Theme & Tutorials Area » Forumotion Tips & Tricks Tutorials  →   [Tutorial] Topic Moderation - Page 2

[Tutorial] Topic Moderation


    Go to page : Previous  1, 2, 3, 4, 5, 6  Next

  • Please log in to Reply

View previous topic View next topic Go down  Message [Page 2 of 6]

avatar
 
Member
Member

Posted on Thu Jun 12, 2014 3:29 am

 


Thanks For This...


View user profile
avatar
 
Administrator
 Administrator

Posted on Thu Jun 12, 2014 3:46 am

 
[You must be registered and logged in to see this link.] wrote:[link="/t368-tutorial-topic-moderation#2325"]wow! Great... thanks for this ^^

ps. not working on Invision

[tag]LeePark[/tag] Try to change your Javascript with this
Code:
$(function(){
        var level = _userdata["user_level"];
        var del = $('.main-foot a[href*="mode=delete"]').attr('href');
        var trash = $('.main-foot a[href*="mode=trash"]').attr('href');
        var move = $('.main-foot a[href*="mode=move"]').attr('href');
        var lockunlock = $('.main-foot a[href*="mode=lock"]').attr('href');
        var split = $('.main-foot a[href*="mode=split"]').attr('href');
        var merge = $('.main-foot a[href*="merge"]').attr('href');
        if(level === 1 | level === 2 | trash) {
          $('.posting-options').after('<div id="moderation_tool" class="act_mod"><p class="mod" title="moderate topic">moderate topic</p></div>');
        $('#moderation_tool').append('<div id="popw" class="action_mod">
        <div class="mod_hover"></div>
        <div class="popwinner">
        <li><a href="'+del+'">Exclude this topic</a></li>
        <li><a href="'+trash+'">Send to light</a></li>
        <li><a href="'+move+'">Move this topic</a></li>
        <li><a href="'+lockunlock+'">Lock / Unlock</a></li>
        <li><a href="'+split+'">Unwrap this topic</a></li>
        <li><a href="'+merge+'">Merging threads</a></li>
        </div></div>');
        $('.mod').click(function(){
          $('.action_mod').slideToggle(300);
        });
        }
        });

View user profile http://www.socialacademy.biz
avatar
 
Administrator
 Administrator

Posted on Fri Jun 13, 2014 5:44 am

 
Code Tested & Updated

View user profile http://www.socialacademy.biz
avatar
 
Member
Member

Posted on Fri Jun 13, 2014 6:48 am

 
[You must be registered and logged in to see this link.] wrote:[link="/t368-tutorial-topic-moderation#2328"]
[You must be registered and logged in to see this link.] wrote:[link="/t368-tutorial-topic-moderation#2325"]wow! Great... thanks for this ^^

ps. not working on Invision

[tag]LeePark[/tag] Try to change your Javascript with this
Code:
$(function(){
        var level = _userdata["user_level"];
        var del = $('.main-foot a[href*="mode=delete"]').attr('href');
        var trash = $('.main-foot a[href*="mode=trash"]').attr('href');
        var move = $('.main-foot a[href*="mode=move"]').attr('href');
        var lockunlock = $('.main-foot a[href*="mode=lock"]').attr('href');
        var split = $('.main-foot a[href*="mode=split"]').attr('href');
        var merge = $('.main-foot a[href*="merge"]').attr('href');
        if(level === 1 | level === 2 | trash) {
          $('.posting-options').after('<div id="moderation_tool" class="act_mod"><p class="mod" title="moderate topic">moderate topic</p></div>');
        $('#moderation_tool').append('<div id="popw" class="action_mod">
        <div class="mod_hover"></div>
        <div class="popwinner">
        <li><a href="'+del+'">Exclude this topic</a></li>
        <li><a href="'+trash+'">Send to light</a></li>
        <li><a href="'+move+'">Move this topic</a></li>
        <li><a href="'+lockunlock+'">Lock / Unlock</a></li>
        <li><a href="'+split+'">Unwrap this topic</a></li>
        <li><a href="'+merge+'">Merging threads</a></li>
        </div></div>');
        $('.mod').click(function(){
          $('.action_mod').slideToggle(300);
        });
        }
        });

working but the links are undefined

View user profile
avatar
 
Member
Member

Posted on Fri Jun 13, 2014 4:22 pm

 
very good

View user profile
avatar
 
Member
Member

Posted on Fri Jun 20, 2014 7:05 pm

 
very good!

View user profile
avatar
 
Member
Member

Posted on Sun Jun 22, 2014 10:55 pm

 
thnx

View user profile
avatar
 
Advance Member
Advance Member

Posted on Thu Jul 03, 2014 10:31 am

 
its more easy to use moderate topic now :D

THANKS THANKS :)

View user profile http://graphicsalliance.forumtl.com/
avatar
 
Member
Member

Posted on Sat Jul 05, 2014 1:56 am

 
Thank you!

View user profile
avatar
 
Member
Member

Posted on Sun Jul 06, 2014 11:20 pm

 
Thanks

View user profile
#21

OfflineSponsored content


 

Posted

 

Message (Page 2 of 6)


    Go to page : Previous  1, 2, 3, 4, 5, 6  Next


Share Topics Url

Url
BBcode
HTML

Permissions in this forum:
You cannot reply to topics in this forum

 
  • Forum create on Forumotion | Computers and Internet | Forums directory | © PunBB | Free forum support | Contact | Report an abuse | Free forum


Social Academy Forum

   lovely chocolate a lovely you and lovely are the things you do but the loveliest
is the friendship of the two. one is me and other is you  

© Social Academy 2013-2017