Navigation

Pligg Support

Avatar
OxyThemes

http://www.oxythemes.com/
Premium Pligg Templates Provider from Philippines
7
Question: Adding a badge or icon for mods or special accounts
Answer: provided by OxyThemes 142 days ago
- 2 + There are many sections in Pligg where the users appear, i.e. below the news title, the main user profile page, top users page, etc. Where or what section do you want the badge to display?

So for example you want the badge to display below the news title, you can use the variable/code:

{if $user_extra_fields.user_level eq "verified"}SPECIAL BADGE HERE{/if}
7
Question: Adding a badge or icon for mods or special accounts
Answer: provided by OxyThemes 138 days ago
- 2 + For Top Users page (members list), open topusers_data.tpl and at the very top, add:

{php}

global $main_smarty, $user;

$main_smarty->assign('userLevel', $user->level);

{/php}

On the same file, add the code below where you want the badge to appear:

{if $userLevel "verified"}SPECIAL BADGE HERE{/if}
33
Question: Do you think we should switch back to the old forums?
Answer: provided by OxyThemes 144 days ago
- 2 + I also like the old support forum. I think the voting system used here doesn't work really well. Some valid questions that didnt get enough votes are buried down :(
2
Question: Problem/Question with anonymous commenting system
Answer: provided by OxyThemes 144 days ago
- 1 + Try to contact directly the template author ;)

With regards to #3, it just needs template edits.
2
Question: Problem/Question with anonymous commenting system
Answer: provided by OxyThemes 144 days ago
- 2 + #3 it's how the bootstrap template was coded, it shows the "Login to comment or register here" even if you enable the anonymous commenting. So I assumed that's also the code for his custom template.

It can be removed by editing the story_center.tpl
1
Question: Facebook Embedding ( Auto content + OTnewz theme )
Answer: provided by OxyThemes 147 days ago
- 1 + Have already answered this on our support forum ;)
2
Question: Hide Story Content from Home page
Answer: provided by OxyThemes 147 days ago
- 2 + Set your "Votes To Publish" to a very high number, let's say 10000. This way, all your stories will not become Published and will only remains in the New page. Then make the New page as the Discussion page.
2
Question: Hide Story Content from Home page
Answer: provided by OxyThemes 146 days ago
- 2 + In link_summary.tpl, find:

< div class="storycontent" >

then replace with:

< div class="storycontent{if $pagename neq "story"} storycontent-summary{/if}" >

In your CSS, add:

.storycontent-summary { display:none; }
2
Question: Hide Story Content from Home page
Answer: provided by OxyThemes 144 days ago
- 0 + Yes, it's very possible.

First, do the modification I posted above.

Then, above the:

< div class="storycontent{if $pagename neq "story"} storycontent-summary{/if}" >

add again:

< span class="showDetails">Details< /span>

Next, add this in your pligg.tpl:

{literal}

$(function() {

$(".showDetails").click(function() {

$(this).next().toggle();

});​

});

{/literal}
2
Question: Hide Story Content from Home page
Answer: provided by OxyThemes 144 days ago
- 0 + It's a wrong code actually, intended to be wrong so that it will show here in the comment. If I write the correct code, it won't show here. The mistake is it has a space before and after the < and > .

The correct code should be this one: http://jsfiddle.net/G7H4y/