vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Major Additions - Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=166094)

AndrewD 04-21-2008 03:51 AM

Quote:

Originally Posted by RikiB (Post 1495396)
The main thing was the hits, I have a limit set to like 5 hits per user. It would be easiest if I could just reset those hit values on a per user basis. Currently, the only way to give a user more hits is to raise the global hit number, which gives everyone more hits. If I could perhaps give individual users more hits or reset the hits they currently used, either would be great!

Thanks man.

Riki

It's not easy (without rewriting quite a lot of the code) to give individual users a temporary extra allowance or temporarily ignore the allowances for them only. The change I've made will allow you to tell LDM to treat an individual user's hits for the last 24 hours as being 'zero size'. LDM does not count such hits against either the files or the bytes allowances.

AndrewD 04-21-2008 04:25 AM

Edited - moved to start of thread

RikiB 04-21-2008 06:29 AM

I tested the feature and it looks like it only works with the allowances and not the limitaccess-byhits-plugin. I like the idea a lot but is there a way to make it work with this plugin as well?

Nice updates in the RC btw! :)

Riki

AndrewD 04-21-2008 06:49 AM

Quote:

Originally Posted by RikiB (Post 1495600)
I tested the feature and it looks like it only works with the allowances and not the limitaccess-byhits-plugin. I like the idea a lot but is there a way to make it work with this plugin as well?

Nice updates in the RC btw! :)

Riki

OK, will check.

Rouzbeh1 04-22-2008 07:21 AM

hi Andrew,
thanks for the update :)
i have tested the new version, but it seems not to be able to seo category names correctly
example:
catid:13
catname: Some Name
seo name (output): c-Some Name-13
which should be: c-some-name-13 (no CAPS and - instead of space)
and for some reason i couldn't get it to work.

thanks a lot again

webgeek247 04-22-2008 03:09 PM

Quote:

Originally Posted by AndrewD (Post 1495560)
SWFUpload extra works correctly when wrapped in subdreamer site

Yes, this works fine now. Thanks

Edit: I couldn't get the seo links to work with vBSEO. I asked on their forums last night but haven't had a reply yet

Feel free to test it if you like Andrew

AndrewD 04-22-2008 04:15 PM

Quote:

Originally Posted by Rouzbeh1 (Post 1496373)
hi Andrew,
thanks for the update :)
i have tested the new version, but it seems not to be able to seo category names correctly
example:
catid:13
catname: Some Name
seo name (output): c-Some Name-13
which should be: c-some-name-13 (no CAPS and - instead of space)
and for some reason i couldn't get it to work.

thanks a lot again

Sorry, I'd missed the capitals and spaces. Here's a modified version of includes/local_links_include.php

If you set seo_friendly to 2, you need a different set of mod_rewrite rules. These are the ones I am using as test. If you also set seo_title, then you need to replace local_links in the first part of each rule by your seo_title:

Code:

RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)$        $1local_links.php?catid=$2 [R,L]
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)/([0-9]+)$                $1local_links.php?catid=$2&linkid=$3 [R,L]
RewriteRule (.*)local_links/jump/c-[^/]+-([0-9]+)/([0-9]+)$        $1local_links.php?action=jump&catid=$2&id=$3 [R,L]
RewriteRule (.*)local_links/play/c-[^/]+-([0-9]+)/([0-9]+)$        $1local_links.php?action=play&catid=$2&linkid=$3 [R,L]
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)(\?page=[0-9]+)$        $1local_links.php?catid=$2&page=$3        [R,L]
RewriteRule (.*)local_links/play/c-[^/]+-([0-9]+)/([0-9]+)(\?page=[0-9]+)$        $1local_links.php?action=play&catid=$2&linkid=$3&page=$4        [R,L]


AndrewD 04-22-2008 04:19 PM

Quote:

Originally Posted by djpassion (Post 1496622)
Yes, this works fine now. Thanks

Edit: I couldn't get the seo links to work with vBSEO. I asked on their forums last night but haven't had a reply yet

Feel free to test it if you like Andrew

I don't have access to the relevant part of the LDM admin - the maintenance section is restricted to superadmins.

Have you taken a look at the mod_rewrite rules I have posted in the wiki? I don't know how vbseo works - I have never bought a copy.

webgeek247 04-22-2008 04:32 PM

Hmm, you have the same admin rights as me. There isnt and Super Admin group on my forum. Just Admin. Will send you pm Andrew.

webgeek247 04-22-2008 04:43 PM

Pm sent.


All times are GMT. The time now is 03:07 PM.

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.03081 seconds
  • Memory Usage 1,746KB
  • 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
  • (5)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