vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Toplist (https://vborg.vbsupport.ru/showthread.php?t=98646)

lexx27 09-20-2006 10:07 PM

Quote:

Originally Posted by derekivey
Please try this fix... https://vborg.vbsupport.ru/showpost....&postcount=945

Thanks.

Derek

i cant find this line but I dont care to fix it if you plan to release the new version today for example :)

angkor408 09-20-2006 10:14 PM

I'm having issue register user was able to add but can't edit or delete there site. I follow this instruction:

https://vborg.vbsupport.ru/showp...&postcount=945 but still got the same error. I was able edit or delete login as ADMIN. I check my usergroup option for "Register" which have access to delete or edit site.

If I manually go to this link login in as register user: http://www.khmerclub.org/forums/edit_site.php

I got this error msg: timmy, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Any other suggestion ? Thank Angkor

b6gm6n 09-21-2006 12:11 AM

Quote:

Originally Posted by DementedMindz
thats some huge ding dongs lmfao

haha...yeah! - Hey anyone else notice that the images come in really really slowly?

-b6

derekivey 09-21-2006 01:12 AM

Quote:

Originally Posted by angkor408
I'm having issue register user was able to add but can't edit or delete there site. I follow this instruction:

https://vborg.vbsupport.ru/showp...&postcount=945 but still got the same error. I was able edit or delete login as ADMIN. I check my usergroup option for "Register" which have access to delete or edit site.

If I manually go to this link login in as register user: http://www.khmerclub.org/forums/edit_site.php

I got this error msg: timmy, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Any other suggestion ? Thank Angkor

You need to give each usergroup the appropriate permission in the Usergroup Editor under Toplist Permissions.

Derek

derekivey 09-21-2006 01:12 AM

Quote:

Originally Posted by b6gm6n
dude... looking forward to the new release...may i make a suggestion?... please please please remove the text links from the description for mods or admins, i.e edit/delete/whatever as it riuns the layout... i actually disabled it and remove it and edit via admin... a button would be great if possible... looks more pro! :) - also... i use toplist for 468x60 banners (typical size anyways) and so my layout is customised, would be nice to choose which columns to show... ie > http://www.sgurl.org/forums/toplist.php, i just edited templates etc... cheers anyways, top mod!

-M

Yes, I plan on removing those and replacing them with inline moderation :).

Derek

EDIT: Wait, not sure how to do that for edit site though, like what if they select multiple sites?

Steve B 09-21-2006 05:45 AM

Hi derek

I have edited the line(s) of code in toplist_1 as suggested to correct the Delete Site ] [ Report ] and now it correctly displays just report, thanks for that :)
however members still have no link visible to be able to edit or delete their own entries from the toplist. Each usergroup has the appropriate permission in the Usergroup Editor under Toplist Permissions and if they go directly to edit_site.php?id=X they can successfully edit.

derekivey 09-21-2006 09:26 AM

Hmm... can you paste the contents of that template here in tags?

Thanks,
Derek

Steve B 09-21-2006 09:43 AM

Sure.

It has been edited to remove the vote function as per the instructions earlier in this thread but we have also tried it with the templates reverted back to the original. I may have missed something though...

Code:

<tr align="center">
        <if condition="$cat != 1">
                <td class="alt2">$rank</td>
        </if>
        <td class="alt1"><a href="$vboptions[bburl]/out.php?id=$sr[id]" target="_BLANK">$sr[name]</a><br />$sr[description]
                <if condition="$bbuserinfo['username'] == $sr['username']">
                        <if condition="$permissions['toplistpermissions'] & $vbulletin->bf_ugp['toplistpermissions']['caneditsites'] OR $vbulletin->bf_ugp['toplistpermissions']['candeletesites']">
                                <br />
                        </if>
                <else />
                        <if condition="$permissions['toplistpermissions'] & $vbulletin->bf_ugp['toplistpermissions']['canadminsites']">
                                <br />
                        </if>
                </if>
                <if condition="$bbuserinfo['username'] == $sr['username']">
                        <if condition="$permissions['toplistpermissions'] & $vbulletin->bf_ugp['toplistpermissions']['caneditsites']">
                                [ <a href="$vboptions[bburl]/edit_site.php?id=$sr[id]">$vbphrase[toplist_edit_site]</a> ]&nbsp;
                        </if>
                <else />
                        <if condition="$permissions['toplistpermissions'] & $vbulletin->bf_ugp['toplistpermissions']['canadminsites']">
                                [ <a href="$vboptions[bburl]/edit_site.php?id=$sr[id]">$vbphrase[toplist_edit_site]</a> ]&nbsp;
                        </if>
                </if>
                <if condition="$bbuserinfo['username'] == $sr['username']">
                        <if condition="$permissions['toplistpermissions'] & $vbulletin->bf_ugp['toplistpermissions']['candeletesites']">
                                [ <a href="$vboptions[bburl]/delete_site.php?id=$sr[id]">$vbphrase[toplist_delete_site]</a> ]
                        </if>
                <else />
                        <if condition="$permissions['toplistpermissions'] & $vbulletin->bf_ugp['toplistpermissions']['canadminsites']">
                                [ <a href="$vboptions[bburl]/delete_site.php?id=$sr[id]">$vbphrase[toplist_delete_site]</a> ]
                        </if>
                </if>
                <if condition="!is_member_of($bbuserinfo, 1)">
                        [ <a href="#" onclick="javascript:window.open('$vboptions[bburl]/toplist.php?do=report&amp;id=$sr[id]','report','menubar=0,resizable=1,width=320,height=220');return false;">$vbphrase[toplist_report]</a> ]
                </if>
        </td>
        <if condition="$vboptions['toplist_show_user_banners'] == 1">
                <if condition="$sr['imagecode'] != '' AND $sr['in'] >= $vboptions['toplist_number_of_in_hits_until_banner_shows']">
                        <td class="alt2" width="88"><a href="$vboptions[bburl]/out.php?id={$sr[id]}" target="_BLANK"><img src="$vboptions[bburl]/toplist_image.php?do=view&amp;id=$sr[id]" border="0" alt="" /></a></td>
                <else />
                        <td class="alt2" width="88">$vbphrase[toplist_none]</td>
                </if>
        </if>
        <td class="alt<if condition="$vboptions['toplist_show_user_banners'] == 1">1<else />2</if>" width="50">$sr[in]</td>
        <td class="alt<if condition="$vboptions['toplist_show_user_banners'] == 1">2<else />1</if>" width="50">$sr[out]</td>
        <td class="alt<if condition="$vboptions['toplist_show_user_banners'] == 1">1<else />2</if>" width="50">$sr[views]</td>
</tr>


b6gm6n 09-21-2006 01:07 PM

Quote:

Originally Posted by derekivey
Yes, I plan on removing those and replacing them with inline moderation :).

Derek

EDIT: Wait, not sure how to do that for edit site though, like what if they select multiple sites?

hmmm dunno my friend... maybe mods or those with the right perms can enter the admincp for editing the toplist sites, or perhaps a seperate new template for edits which would include the ability to alter multiple entires.... either way your the don! :)

-b6

angkor408 09-21-2006 03:15 PM

derekivey, I don't see any option that say usergroup editor. All I see in my toplist is:

toplist option
toplist sites
add site
catergoies
mass delete site
inactive sites
suspended sites
mass suspended sites
reported sites
reset toplist






Quote:

Originally Posted by derekivey
You need to give each usergroup the appropriate permission in the Usergroup Editor under Toplist Permissions.

Derek



All times are GMT. The time now is 03:40 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
  • Page Generation 0.02807 seconds
  • Memory Usage 1,765KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete