![]() |
Quote:
|
Looks like an awesome hack! Unfortunately, I'm using vb3.5 and can't import the product. Can you perhaps make something like this for 3.5 or is there already anything similar to this for 3.5?
Anyway, good job mate! Looks like a good hack... |
You should be able to edit the product in NotePad or something and change the Product Dependency from 3.6 to 3.5. Of course I didn't author the hack, but I don't think there should be any problems running it on 3.5, considering it doesn't really make use of anything that changed (such as the datastore).
|
Hello, from where I change the module title "Latest News" to my Own in forum home?
thx |
Can anybody have making this hack W3C standard?
Quote:
Quote:
|
Quote:
|
Quote:
<br> will be W3C compliant if changed to <br /> |
Quote:
Quote:
The tbody are allowed but not where it is now if not in a table |
Perhaps you edited your template and messed up the table code, because I'm positive <tbody> is used properly.
On another note, I would recommend the author change the usergroup part of the code. It will make the template code a lot cleaner, easier for users to understand, and will work for membergroups as well. I made a suggestion like this earlier, but now this one is much simpler. First, edit the plugin Templating Starting. Replace the Plugin Code with: PHP Code:
Now edit the template latest_news. Find: Code:
<if condition="$vboptions[enable_ltnews]"><if condition="$bbuserinfo[usergroupid]== $vboptions['ugroups_lt']{0} OR $bbuserinfo[usergroupid]== $vboptions['ugroups_lt']{2} OR $bbuserinfo[usergroupid]== $vboptions['ugroups_lt']{4} OR $bbuserinfo[usergroupid]== $vboptions['ugroups_lt']{6} OR $bbuserinfo[usergroupid]== $vboptions['ugroups_lt']{8} OR $bbuserinfo[usergroupid]== $vboptions['ugroups_lt']{10}"> Code:
<if condition="$vboptions['enable_ltnews'] AND is_member_of($bbuserinfo, $ugroups_lt)"> Code:
</if></if> Code:
</if> |
Quote:
EDIT: Thanks! Yuor code have fixed too that issue :) |
All times are GMT. The time now is 11:31 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|