Admin panel 2.8.1
The help button (question mark) beside the admin email in System Settings takes you to the wrong help page- the same one as the List Per Page item below it.
Admin panel 2.8.1
The help button (question mark) beside the admin email in System Settings takes you to the wrong help page- the same one as the List Per Page item below it.
CasselmanCanada.com (free access)
Hi,
Open vShare/templates/admin/settings.tpl file and find first,
then, replace it withCode:<a href="http://labs.buyscripts.in/projects/vshare/wiki/List_Per_Page" target="_blank"><img src="{$img_css_url}/images/help.png" alt="help" /></a>
Code:<a href="http://labs.buyscripts.in/projects/vshare/wiki/Admin_Email" target="_blank"><img src="{$img_css_url}/images/help.png" alt="help" /></a>
Thanks. It was not even worth the effort as there was nothing exciting to read there anyway.
CasselmanCanada.com (free access)
Here is another mini-bug that 2.8.1 has.
There are two places that a user's number of uploads can be displayed to the admin. First place is on All Users and the Video column shows the number of videos he has uploaded. The second place is to click on the username when in that screen - then on the Videos link at the bottom of that page.
So the problem is that video numbers display correctly when a file is uploaded normally. But if I ftp a file to the /templates_c/import/ folder and then import it as the admin, and assign it to a user- then the second place shows the updated number of videos. But the first place (the All Users menu) does not ever get incremented.
Where would the code be that needs to be fixed?
Thanks.
CasselmanCanada.com (free access)
Do the following,
Open vShare/templates/admin/users.tpl file and find
Replace it withCode:<td align="right"> {if $users[aa].user_videos gt "0"} <a href="user_videos.php?uid={$users[aa].user_id}"> {$users[aa].user_videos} </a> {else} {$users[aa].user_videos} {/if} </td> {if $enable_package eq "yes"} <td> {insert name=subscriber_info assign=pack uid=$users[aa].user_id} {$pack.package_name} </td> {/if}
Also, you can update user video count in vShare -> Admin -> Maintenance -> Update Counters -> Update Video CountsCode:{insert name=subscriber_info assign=pack uid=$users[aa].user_id} <td align="right"> {if $pack.total_video gt "0"} <a href="user_videos.php?uid={$users[aa].user_id}"> {$pack.total_video} </a> {else} 0 {/if} </td> {if $enable_package eq "yes"} <td> {$pack.package_name} </td> {/if}
If you can't get it fixed, open a support ticket.
Thanks,
Last edited by vshare2; 02-20-2012 at 06:19 AM.
Thanks, that is moving in the right direction. However that code accesses the wrong record in the database. Here is what I would like that section to be for me. The first section works fine, but the subscriber records don't seem to respond.
{insert name=subscriber_info assign=pack uid=$users[aa].user_id}
<td align="right">
{if $users[aa].user_watched_video gt "0"}
{$users[aa].user_watched_video}
</a>
{else}
0
{/if}
</td>
<td align="right">
{if $subscriber[aa].total_video gt "0"} //Here I need to access a different record
<a href="user_videos.php?uid={$users[aa].user_id}">
{$subscriber[aa].total_video} //Here too.
</a>
{else}
0
{/if}
</td>
I tried the update user video count and that works fine but this section needs to access the correct record to display it properly for me.
Thanks Dave
CasselmanCanada.com (free access)
Bookmarks