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)

webgeek247 04-22-2008 07:46 PM

Another thing I just seen that vbseo also have http://www.vbseo.com/wiki/vBSEO_Comp...k:Downloads_II

Not exactly sure what it does, will have to look into it more. Though I wonder if that rewrite rule format is something to go by to get ldm to work with vbseo

Rouzbeh1 04-22-2008 09:16 PM

Quote:

Originally Posted by AndrewD (Post 1496669)
Sorry, I'd missed the capitals and spaces. Here's a modified version of includes/local_links_include.php

this solved the caps and spaces problem. thanks
Quote:

Originally Posted by AndrewD (Post 1496669)
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]


i tried it in many different ways but it didn't work

webgeek247 04-22-2008 09:53 PM

Andrew,

I tried to get help on vbseo to get the ldm alphanumeric urls to work with vbseo, but it turns out that even with vbseo turned off they still dont work. You check out that vbseo thread if you like. Im totaly baffled by it now heh

Aye at least the ldm numeric urls works with vbseo. Would be great to get the alphanumeric urls to work properly though

AndrewD 04-23-2008 03:29 AM

Quote:

Originally Posted by Rouzbeh1 (Post 1496846)
i tried it in many different ways but it didn't work

Are you using the mod_rewrite approach? I had to debug things by turning on logging (log level 2) and then watching what was happening.

I have an English board working fine with the rules I posted.

GrendelKhan{TSU 04-23-2008 04:40 AM

great job as usual andrew :D

found some bugs (at least on mine)
- 2.2.9 RC
- vb3.7.0 RC1

1)
-- cat_icon_new
-- cat_icon_new
-- subcat_icon
still not showing up. :( its not reading the "forums/" folder and gets an error (doubles up the forums directory) if you put it in manually eg:
Quote:

The following settings are invalid:
cat_icon (/forums/linksdownloads/icons/xxxxxxxxx .jpg) Cannot find icon 'htt p://www. xxxxx. com/forums/forums/linksdownloads/icons/music-to-frag-to-Clan-TSU.jpg' - specify relative to forum directory or use full url
- ldm no cat icons

2) template_linkbit (short: title+thumb): TITLE is not appearing. :(
bug (at least for me): ldm no title

3) also, would be nice to see a bullet or something next to the items in the statistics. (or as an options).

too hard to read individual items otherwise. (don't know where one starts and another ends).

- LDM (right side stats)


still awesome stuff. :)

itsblack 04-23-2008 05:19 AM

Hi Andrew, I have installed 2.2.9 RC. Thank you.

I got mysql error when I search the multiple words such as "Cambridge Companions" with the option "all words" or "exact phrase". There's no problem with the option "any word".

PHP Code:

Invalid SQL:

        
SELECT
            link
.linkid AS linkidlink.linkname AS linknamelink.linkdoi AS linkdoi,
            
link.linkuserid AS linkuseridlink.linkusername AS linkusername,
            
link.linkurl AS linkurllink.linkimg AS linkimg,
            
link.linkimgthumb AS linkimgthumblink.linkimgthumbsize AS linkimgthumbsizelink.linkforum AS linkforum,
            
link.linkdesc AS linkdesclink.numrate AS numratelink.totrate AS totrate,
            
link.linkhits AS linkhitslink.linksize AS linksizelink.linkstatus AS linkstatus,
            
link.linkdate AS linkdatelink.linkmoderate AS linkmoderatelink.linkmoddate AS linkmoddate,
            
link.linkreviewfreq AS linkreviewfreq,
            
ltoc.catid AS linkcatidltoc.displayorder AS linkdorder
            
            
ltoc2.catid AS linkcatid2
            
            
lkeys.keyword AS linkkey
            FROM local_linkslink 
AS link
            LEFT JOIN local_linksltoc 
AS ltoc ON link.linkid ltoc.linkid
            
            
            
    
            LEFT JOIN local_linksltoc 
AS ltoc2
            ON link
.linkid ltoc2.linkid
        
            LEFT JOIN local_linksltok 
AS ltok
            ON link
.linkid ltok.linkid
            LEFT JOIN local_linkskeys 
AS lkeys
            ON ltok
.keyid lkeys.keyid
         WHERE link
.linkforum NOT IN (0)  AND (link.linkid IN () OR link.linkid IN (-1,355,425,427,428,429,430,431,436,439,483,673,723,801,1051,1063,1079,1118,1129,1159,1161,1160,1179,1180,1321,1371,1410,1578,1579,1580,1584,1593,1594,1595,1646,1687,1771) OR link.linkid IN (-1)) 
            
ORDER BY   linkdate DESClinkname ASClinkcatid ASC;

MySQL Error  You have an error in your SQL syntaxcheck the manual that corresponds to your MySQL server version for the right syntax to use near ') OR link.linkid IN (-1,355,425,427,428,429,430,431,436,439,483,673,723,801,1051' at line 28
ERROR       
1064 

My mysql version is 5.0.45. Now what can I do?

Rouzbeh1 04-23-2008 02:48 PM

Quote:

Originally Posted by AndrewD (Post 1497000)
Are you using the mod_rewrite approach? I had to debug things by turning on logging (log level 2) and then watching what was happening.

I have an English board working fine with the rules I posted.

i used both vbseo AND also mod_rewrite
i have also tested it on my test board with only mod_rewrite + ldm internal function
none of them worked

AndrewD 04-23-2008 06:34 PM

Quote:

Originally Posted by itsblack (Post 1497046)
Hi Andrew, I have installed 2.2.9 RC. Thank you.

I got mysql error when I search the multiple words such as "Cambridge Companions" with the option "all words" or "exact phrase". There's no problem with the option "any word".

My mysql version is 5.0.45. Now what can I do?

Interesting, that bug has been there for quite some time but has only just been hit. I think this version of local_links_search.php fixes the bug.


I'm now going to have to see how to deal with the 3.6.10/3.7.0RC4 changes.

[edited: attachment removed - now in the release code]

AndrewD 04-23-2008 07:09 PM

Quote:

Originally Posted by Rouzbeh1 (Post 1497300)
i used both vbseo AND also mod_rewrite
i have also tested it on my test board with only mod_rewrite + ldm internal function
none of them worked

This is the relevant section of my http-vhosts file

Code:

<VirtualHost *:80>
        ServerName vb37
        DocumentRoot "r:/websites/vb37"

#        RewriteLog "C:/Program Files/Apache Software Foundation/Apache2.2-ssl/logs/rewrite.log"
#        RewriteLogLevel 2

        RewriteEngine on
#        RewriteEngine off

# - normal mode

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

# -- extended mode

        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]
        Options +ExecCGI
</VirtualHost>

Maybe you can post what you have tried?

Alfa1 04-24-2008 12:49 AM

How can I:
- get rid of the 'my recent LDM hits' box on profile?
- get rid of the mentions of LDM in the 'About me'tab on profile?
- change the phrase of 'My recent LDM entries'?
- add a section on the 'statistics' tab on profile to display: 'total documents', 'total video's' and 'total audio'? Note that video, documents and audio are separate categories in my LDM.

Does the swf uploader use a different url, than local_links.php?action=addlink ? I was just wondering, because I don't get it to work from local_links.php?action=addlink

itsblack 04-24-2008 12:51 AM

Quote:

Originally Posted by AndrewD (Post 1497502)
Interesting, that bug has been there for quite some time but has only just been hit. I think this version of local_links_search.php fixes the bug.


I'm now going to have to see how to deal with the 3.6.10/3.7.0RC4 changes.

Thank you very much. It works.

AndrewD 04-24-2008 04:13 AM

Quote:

Originally Posted by Alfa1 (Post 1497766)
How can I:
- get rid of the 'my recent LDM hits' box on profile?
- get rid of the mentions of LDM in the 'About me'tab on profile?
- change the phrase of 'My recent LDM entries'?

I think I am going to have to rethink the profile integration with vb3.7. The underlying vbulletin code is quite different and this is creating the problems you are experiencing.

When you enable LDM profile integration, some new fields are added to the profile records in the database. If you turn it off again, these fields are retained, to give you the option of re-enabling profile integration at a later stage without destroying any customisations that users have already made. With vb3.6 this worked fine, but with 3.7 it is leaving the residual blank profile blocks visible.

** Edited ** You can turn off profile intergation in LDM admin/settings, then go to the vb/admin/user profile and kill the two LDM user profile fields. This will get rid of the blank displays. But I'd prefer a better solution.

Quote:

Originally Posted by Alfa1 (Post 1497766)
- add a section on the 'statistics' tab on profile to display: 'total documents', 'total video's' and 'total audio'? Note that video, documents and audio are separate categories in my LDM.

Will think about this.

Quote:

Originally Posted by Alfa1 (Post 1497766)
Does the swf uploader use a different url, than local_links.php?action=addlink ? I was just wondering, because I don't get it to work from local_links.php?action=addlink

If you have installed the extra and enabled it on ldm/admin/settings, then the normal add link page will simply have a swfupload-enabled upload box in exactly the same place as the standard upload box. The add multi link page will not work with swfupload at present.

Rouzbeh1 04-24-2008 08:56 AM

oh forgot to mention.
i have this conf as a .htaccess file in my public_html

Code:

RewriteEngine On

#RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1 [L,QSA]

RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]


#RewriteRule (.*)local_links/links/([^0-9]+)$            /$1$2 [L]
#RewriteRule (.*)local_links/links/([0-9]+)/([0-9]+)$    /$1local_links.php?catid=$2&linkid=$3 [L]
#RewriteRule (.*)local_links/links/([0-9]+)$            /$1local_links.php?catid=$2 [L]
#RewriteRule (.*)local_links/jump/([0-9]+)/([0-9]+)$    /$1local_links.php?action=jump&id=$2&catid=$3 [L]
#RewriteRule (.*)local_links/jump/([0-9]+)$            /$1local_links.php?action=jump&id=$2 [L]
#RewriteRule (.*)local_stream/([0-9]+)$          /$1local_stream.php?action=stream&id=$2 [L]


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-24-2008 03:30 PM

Thanks

Quote:

Originally Posted by GrendelKhan{TSU (Post 1497032)
1)
-- cat_icon_new
-- cat_icon_new
-- subcat_icon
still not showing up. :( its not reading the "forums/" folder and gets an error (doubles up the forums directory) if you put it in manually eg:

- ldm no cat icons

I think you are entering these incorrectly. They should be *relative* to the forum, not relative to the forum's parent,

i.e. you should specify /linksdownloads/icons/ not /forums/linksdownloads/icons/

Quote:

Originally Posted by GrendelKhan{TSU (Post 1497032)
2) template_linkbit (short: title+thumb): TITLE is not appearing. :(
bug (at least for me): ldm no title

my bug. If you edit the links_linkbit_short template and replace $linkurlshortlink by $linkurllink, you should be ok

Quote:

Originally Posted by GrendelKhan{TSU (Post 1497032)
3) also, would be nice to see a bullet or something next to the items in the statistics. (or as an options).

too hard to read individual items otherwise. (don't know where one starts and another ends).

- LDM (right side stats)

will do

RikiB 04-24-2008 04:45 PM

Hey Andrew, I know you are getting slammed with tons of feedback but I just wanted to see if you had a moment to look into updating the reset hit count on the limitaccess-byhits-plugin.
No rush, the workaround Im using now is just increase the global hit count.
Riki

AndrewD 04-24-2008 05:06 PM

Quote:

Originally Posted by RikiB (Post 1498319)
Hey Andrew, I know you are getting slammed with tons of feedback but I just wanted to see if you had a moment to look into updating the reset hit count on the limitaccess-byhits-plugin.
No rush, the workaround Im using now is just increase the global hit count.
Riki

Working on it right now.

What I am doing is making it possible to selectively clear hits from the download table and to re-order how these hits are presented on the admin hits pages to make it easier to find a particular access. This is the simplest way to achieve what you want.

Alfa1 04-24-2008 06:22 PM

Quote:

Originally Posted by AndrewD (Post 1497850)
If you have installed the extra and enabled it on ldm/admin/settings, then the normal add link page will simply have a swfupload-enabled upload box in exactly the same place as the standard upload box. The add multi link page will not work with swfupload at present.

I see now. This looks nice! Thank you.
Please consider adding a flash based file browser / uploader similar to the one putfile has. Image preview for pictures and video's would be nice.

I have the JW player in linkbit which look really nice. Is there any way to let JW player handle the flash sites or alternatively to have the flashsites play in linkbit?

Regarding the similar threads addon: The title of the block is 'Similar Entries in Threads'. This does not seem logical. Since the title of the vbulletin function is 'similar threads', it seems more logical to name the LDM title 'similar files'.
Is there any way to make the linkbit used look like the similar threads linkbit?

I have the same question about LDM categories: is there any way to make them look like forum categories, forums and subforums?
I noticed the add new linkbit extra. Can I use this somehow to create linkbits to resemble forum categories, forums and subforums?

GrendelKhan{TSU 04-25-2008 08:10 AM

Quote:

Originally Posted by AndrewD (Post 1498263)
Thanks
I think you are entering these incorrectly. They should be *relative* to the forum, not relative to the forum's parent,

i.e. you should specify /linksdownloads/icons/ not /forums/linksdownloads/icons/


I tried both ways.

1) when I do as relative to forums it shows up as
http://www.unrealaddicts.com/linksdownloads/icons/Clan-TSU-logo-icon-80x80.gif

(note: MISSING the /forums/ folder)

2) when I add /forums/
it ends with an error (cause of TWO /forums/ folders) ie:

Code:

cat_icon (/forums/linksdownloads/icons/music-to-frag-to-Clan-TSU.jpg) Cannot find icon 'http://www.unrealaddicts.com/forums/forums/linksdownloads/icons/music-to-frag-to-Clan-TSU.jpg'
:/

AndrewD 04-25-2008 10:22 AM

Quote:

Originally Posted by GrendelKhan{TSU (Post 1498856)
I tried both ways.

1) when I do as relative to forums it shows up as
http://www.unrealaddicts.com/linksdownloads/icons/Clan-TSU-logo-icon-80x80.gif

(note: MISSING the /forums/ folder)

2) when I add /forums/
it ends with an error (cause of TWO /forums/ folders) ie:

Code:

cat_icon (/forums/linksdownloads/icons/music-to-frag-to-Clan-TSU.jpg) Cannot find icon 'http://www.unrealaddicts.com/forums/forums/linksdownloads/icons/music-to-frag-to-Clan-TSU.jpg'
:/

How exactly are entering the 'relative to forum' string?

Can you also check and let me know the setting of 'forum url' on your vb/admincp

WebmasterSimds 04-25-2008 05:42 PM

Andrew,

Hello, I installed the latest greatest version of vb and your mod. my question is this. what switches do i need to change to fix this that i get up at the top of the LDM section?

Quote:

Warning: Cannot use a scalar value as an array in [path]/includes/local_links_vbafunc.php on line 436

Warning: Invalid argument supplied for foreach() in [path]/includes/local_links_vbafunc.php on line 436
it only happens when i am directly in the LDM section itself.

Thanks In Advance

RikiB 04-26-2008 02:12 AM

I started testing the flv and xml jmplayer, Im getting this now

Call to undefined function: strripos() in /home/username/public_html/forum/includes/local_links_players.php(391) : eval()'d code on line 5

Ill keep poking at it and post if I find out what it is, I figured it is some addon i dont have installed or something.

*Edit*
Looks like it only does it when I set xmlJWplayer_active to yes. when I set this to yes I get the error with flv and xml.

AndrewD 04-26-2008 03:45 AM

Quote:

Originally Posted by RikiB (Post 1499449)
I started testing the flv and xml jmplayer, Im getting this now

Call to undefined function: strripos() in /home/username/public_html/forum/includes/local_links_players.php(391) : eval()'d code on line 5

Ill keep poking at it and post if I find out what it is, I figured it is some addon i dont have installed or something.

*Edit*
Looks like it only does it when I set xmlJWplayer_active to yes. when I set this to yes I get the error with flv and xml.

This is a problem caused by your version of php (4). I usually manage to trap this one so will take a look at the xmlJW player to see what I forgot.

RikiB 04-26-2008 04:15 AM

Ill try upgrading my php version

Lindsey 04-26-2008 04:18 AM

Could someone please tell me if this will work for files lets say over 100+Mb and is it ready for 3.7 RC 4? ;)

Thank you,

RikiB 04-26-2008 04:24 AM

well that seemed to work, going from php4 to 5.2.5, however one terrifying thing is my categories are gone on the download page, nothing is there.
yikes, I better check all my settings!

*Edit*

Everything fixed, thanks again Andrew, I needed to upgrade to php5 anyway.

Riki

RikiB 04-26-2008 04:37 AM

Quote:

Originally Posted by Lindsey (Post 1499509)
Could someone please tell me if this will work for files lets say over 100+Mb and is it ready for 3.7 RC 4? ;)

Thank you,

I saw a fix in the changelist that says the 100+MB now works in IE7, I cant say about RC4 though, Im still on 3.6.9

AndrewD 04-26-2008 05:35 AM

Quote:

Originally Posted by Lindsey (Post 1499509)
Could someone please tell me if this will work for files lets say over 100+Mb and is it ready for 3.7 RC 4? ;)

Thank you,

It will be fully ready with the 3.7 RC4 CSRF fix this weekend (unless something goes badly wrong :)). I think the current beta code will also be fine with RC4, except that does not have the CSRF fix in it.

The standard uploading code works with any size of file, provided that your php and other site settings are adequate (max_post_size, etc). However, large form based uploads tend to be problematic - this is not an LDM problem, it's inherent in the method.

The swfupload 'extra' gives you a progress bar and better recovery handling for large diagnostics. According to the information provided via Adobe, etc, it should only work up to 100Mb, however, I (and others) have found that it works fine with bigger files. Again, you have to have the php settings correct.

Lindsey 04-26-2008 06:39 AM

Thank you AndrewD. Would you know the day the rc4 one will come out..?

AndrewD 04-26-2008 07:18 AM

Quote:

Originally Posted by Lindsey (Post 1499564)
Thank you AndrewD. Would you know the day the rc4 one will come out..?

I'm just tidying up at the moment. I imagine it will be tomorrow.

AndrewD 04-26-2008 12:03 PM

Quote:

Originally Posted by WebmasterSimds (Post 1499225)
Andrew,

Hello, I installed the latest greatest version of vb and your mod. my question is this. what switches do i need to change to fix this that i get up at the top of the LDM section?



it only happens when i am directly in the LDM section itself.

Thanks In Advance

I think that this is a bug in the LDM 2.2.9 beta, which I've since fixed. There will be a new version very soon.

AndrewD 04-26-2008 12:56 PM

Quote:

Originally Posted by Alfa1 (Post 1498419)
I see now. This looks nice! Thank you.
Please consider adding a flash based file browser / uploader similar to the one putfile has. Image preview for pictures and video's would be nice.

Will take a look.

Quote:

Originally Posted by Alfa1 (Post 1498419)
I have the JW player in linkbit which look really nice. Is there any way to let JW player handle the flash sites or alternatively to have the flashsites play in linkbit?

Sorry! I spent most of my Christmas vacation getting that working, and then trapvid closed down.

Quote:

Originally Posted by Alfa1 (Post 1498419)
Regarding the similar threads addon: The title of the block is 'Similar Entries in Threads'. This does not seem logical. Since the title of the vbulletin function is 'similar threads', it seems more logical to name the LDM title 'similar files'.

Fixed in the next release.


Quote:

Originally Posted by Alfa1 (Post 1498419)
Is there any way to make the linkbit used look like the similar threads linkbit?

I have the same question about LDM categories: is there any way to make them look like forum categories, forums and subforums?
I noticed the add new linkbit extra. Can I use this somehow to create linkbits to resemble forum categories, forums and subforums?

i.e. we need a catbit and a linkbit which look like VB forums and posts. I'll give it go, but not today.

Alfa1 04-26-2008 01:19 PM

Thanks!

Google is indexing local_links.php?action=sendtofriend. Is there a way to disable this function for guests?

Is it possible to have the link validation(check for broken links) process to be executed by cron? If yes, could you please explain how?

AndrewD 04-27-2008 06:01 AM

Quote:

Originally Posted by Alfa1 (Post 1499755)
Thanks!

Google is indexing local_links.php?action=sendtofriend. Is there a way to disable this function for guests?

Turn off can_send_tofriend permission for unregistered users on LDM/admin/permissions

Quote:

Originally Posted by Alfa1 (Post 1499755)
Is it possible to have the link validation(check for broken links) process to be executed by cron? If yes, could you please explain how?

Do you mean as a system cron or a VB cron? I haven't explored the first, but will think about how it could be done. The second is not a good idea - validation is a very cpu intensive task and VB crons are executed in the margin of normal page visits.

AndrewD 04-27-2008 06:03 AM

Is now available at the start of this thread, all known bugs fixed and CSRF patch applied for VB 3.6.10/3.7.0RC4. Will appreciate reports.

RikiB 04-27-2008 07:14 AM

Im still on 3.6.9 (about to do the upgrade).
I verified that the delete hits per user works great now (RC1).

On the allowances page I check delete and hit Go and it doesnt work, however if I go into the hits on that user, and select all, and hit delete, it works perfect.

Thanks!
Riki

AndrewD 04-27-2008 07:43 AM

Quote:

Originally Posted by RikiB (Post 1500506)
Im still on 3.6.9 (about to do the upgrade).
I verified that the delete hits per user works great now (RC1).

On the allowances page I check delete and hit Go and it doesnt work, however if I go into the hits on that user, and select all, and hit delete, it works perfect.

Thanks!
Riki

The delete option on the main allowances page is intended for mass clear-outs, either of hits that happened before the set you show, or the set itself. It's a bit of a nuclear bomb. As you say, to clear individual user hits, you need to drill down a page.

RikiB 04-27-2008 07:52 AM

Ive been messing around with it and I really love the feature, If someone is having problems with 1 file I can just delete all the tries for the 1 file and so on. I upgraded VB and all seems well, Thanks!

Riki

RikiB 04-28-2008 01:19 AM

There has to be a simple explanation, but for some reason all of my flv and xml files will download like a normal file with IE7 (instead of playing in the media player). Works perfect with Firefox, but not in IE7. Its there an easy fix for this?

Riki

RikiB 04-28-2008 02:03 AM

This isnt a big deal with me, but I also cannot get SEO to work no matter what I try. It could be a nice addition if I ever get it working.

What I tried was just enabling Yes (also tried extended).

I added this the the .htaccess file in the root of my site (public_html)
(My forum resides in /forum from public_html)

Code:


Options All -Indexes
Options +FollowSymLinks
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php

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]

I also tried creating a new .htaccess file and putting it in my /forum director and it doesnt work, I put this

Code:


Options All -Indexes
Options +FollowSymLinks
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

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]

Like I said, its not a huge deal with me, but maybe I can help others who are struggling with this as well, it would be neat to figure out.

Riki

AndrewD 04-28-2008 03:15 AM

Quote:

Originally Posted by RikiB (Post 1501124)
This isnt a big deal with me, but I also cannot get SEO to work no matter what I try. It could be a nice addition if I ever get it working.

What I tried was just enabling Yes (also tried extended).

I added this the the .htaccess file in the root of my site (public_html)
(My forum resides in /forum from public_html)

Code:


Options All -Indexes
Options +FollowSymLinks
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php

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]

I also tried creating a new .htaccess file and putting it in my /forum director and it doesnt work, I put this

Code:


Options All -Indexes
Options +FollowSymLinks
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

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]

Like I said, its not a huge deal with me, but maybe I can help others who are struggling with this as well, it would be neat to figure out.

Riki


Try putting a forward slash in front of the second part of each of the rules, e.g.:

Code:

RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)$        /$1local_links.php?catid=$2 [R,L]


All times are GMT. The time now is 12:32 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.04044 seconds
  • Memory Usage 1,959KB
  • 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
  • (10)bbcode_code_printable
  • (1)bbcode_php_printable
  • (32)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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