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 06-06-2008 01:29 PM

Quote:

Originally Posted by binal0072003 (Post 1542066)
ok i changed the php.ini

but still it says limit exceeds than in php.ini

mu upload limit 200 mb

post limit 250 mb

have you restarted apache? changes in php.ini only take effect on restart

abdelghani68 06-06-2008 04:10 PM

hi

I want to display 2 differents modules on my vbadvanced portal for the categories.

example : the module number 01 contains the categories 1 and 2

the module number 02 contains the categories 3 and 4

how to do that ?

or I must, if possible install a second ldm in my site for do that ?

Thanks

shaqoneal 06-06-2008 04:25 PM

cool hack

IR15H 06-06-2008 06:23 PM

Hello again, glad to see this excellent mod has just got better since I last checked it out :D.

------------------------------

I have two things that I think are bugs. The first one is that a user gets logged out after viewing a video/music/pic if browsing in IE7 and not tick "Remember me?" when logging in.

To reproduce;
  • Start IE7.
  • Log into to your site, without ticking the "Remember Me?" box.
  • Navigate to a video, and view it. (Doesn't seem to matter if it's in the same window or a new one)
  • Navigate away from that video.
  • You get logged out.

If you can't replicate this, then perhaps it's a setting on my site. If that's the case, I've a test account to help see if that can identify the problem. Example category. User: test Password: test. It works fine on FireFox, it's only on IE7 that I can get this behaviour to occur.

The second is to do with the "View full information on this entry" link (https://vborg.vbsupport.ru/ - /local_links_admin.php?set=showinfo&linkid=X). If I click on it, I just get a blank page.


It may very well be that I've set incorrect settings, I just can't figure out what they might be!

----------------------

I also have a request. Is it possible to make it so that the magnifying glass, used to show full images, only appears if the image is bigger than the maximum thumbnail size allowed? For example, if I upload a 150 x 150px image, set the maximum thumbnail size to 200px, then the magnifying glass won't appear.

AndrewD 06-07-2008 05:59 AM

Quote:

Originally Posted by IR15H (Post 1542515)

I have two things that I think are bugs. The first one is that a user gets logged out after viewing a video/music/pic if browsing in IE7 and not tick "Remember me?" when logging in.

To reproduce;
  • Start IE7.
  • Log into to your site, without ticking the "Remember Me?" box.
  • Navigate to a video, and view it. (Doesn't seem to matter if it's in the same window or a new one)
  • Navigate away from that video.
  • You get logged out.

If you can't replicate this, then perhaps it's a setting on my site. If that's the case, I've a test account to help see if that can identify the problem. Example category. User: test Password: test. It works fine on FireFox, it's only on IE7 that I can get this behaviour to occur.

I took a look at your site and found a couple of points that are suspicious. vbulletin uses cookies to transmit login information from page to page. Your vbulletin cookies are being stored in cookies for 'gamingperfection.com' rather than 'www.gamingperfection.com' which is the actual url. At the same time, you have a javascript on your pages which is carrying out some sort of user tracking for a third party site. This is storing cookies against 'www.gamingperfection.com' I wonder if one or both of these is the cause of the problem.


Quote:

Originally Posted by IR15H (Post 1542515)
The second is to do with the "View full information on this entry" link (http://img384.imageshack.us/img384/2483/infosw2.png - /local_links_admin.php?set=showinfo&linkid=X). If I click on it, I just get a blank page.

Blank pages usually mean something went wrong in the php engine. By default, vbulletin 'gzips' material sent to the browser so that these error messages get garbled. Try going to vbulletin/admincp/options/options and uncheck the 'gzip output'. Then try accessing te page again and see if you get a message.

Quote:

Originally Posted by IR15H (Post 1542515)
I also have a request. Is it possible to make it so that the magnifying glass, used to show full images, only appears if the image is bigger than the maximum thumbnail size allowed? For example, if I upload a 150 x 150px image, set the maximum thumbnail size to 200px, then the magnifying glass won't appear.

I'll take a look into this. It shouldn't be difficult. Only minor problem is that the magnifier is also used to control the optional lightbox display for these images.

AndrewD 06-07-2008 06:08 AM

Quote:

Originally Posted by abdelghani68 (Post 1542423)
hi

I want to display 2 differents modules on my vbadvanced portal for the categories.

example : the module number 01 contains the categories 1 and 2

the module number 02 contains the categories 3 and 4

how to do that ?

or I must, if possible install a second ldm in my site for do that ?

Thanks

vba modules can be installed multiple times to achieve what you want. e.g. if you want to use the 'whats hot' module:

- install it, and on the vba 'edit page' page (not the 'edit module' page), configure the module settings with the category/ies of interest.

- install it a second time. vba will ask you to give it a new module id. repeat the configuration for the second module.

see attached screenshots

abdelghani68 06-07-2008 11:15 AM

Quote:

Originally Posted by AndrewD (Post 1542890)
vba modules can be installed multiple times to achieve what you want. e.g. if you want to use the 'whats hot' module:

- install it, and on the vba 'edit page' page (not the 'edit module' page), configure the module settings with the category/ies of interest.

- install it a second time. vba will ask you to give it a new module id. repeat the configuration for the second module.

see attached screenshots

thanks, but I want to do that with the module ldm_cats.module.

I woul'd like to choose the categories to be contained in this module. I don't see option in this module as the module Hot Media for exemple.

Thanks for your help

abdelghani68 06-07-2008 12:14 PM

I think I must make 2 library for that

AndrewD 06-07-2008 12:20 PM

Quote:

Originally Posted by abdelghani68 (Post 1543054)
thanks, but I want to do that with the module ldm_cats.module.

I woul'd like to choose the categories to be contained in this module. I don't see option in this module as the module Hot Media for exemple.

Thanks for your help

As currently coded, that module is only designed to show all the categories at the base level of the category tree. It is quite a simple change to allow you to select one category and show all its subcategories. However, it is not possible to recode the current module to show an arbitrary list of categories. I would have to write something from scratch. You would be better using the standard vbadvanced site navigation module.

IR15H 06-07-2008 02:54 PM

Quote:

Originally Posted by AndrewD (Post 1542885)
I took a look at your site and found a couple of points that are suspicious. vbulletin uses cookies to transmit login information from page to page. Your vbulletin cookies are being stored in cookies for 'gamingperfection.com' rather than 'www.gamingperfection.com' which is the actual url. At the same time, you have a javascript on your pages which is carrying out some sort of user tracking for a third party site. This is storing cookies against 'www.gamingperfection.com' I wonder if one or both of these is the cause of the problem.

I disabled the tracking (Woopra) and changed my forum url (vBulletin Options > vB Options > Site Name / URL / Contact Details) to no longer include www. at the beginning. No joy.

Quote:

Blank pages usually mean something went wrong in the php engine. By default, vbulletin 'gzips' material sent to the browser so that these error messages get garbled. Try going to vbulletin/admincp/options/options and uncheck the 'gzip output'. Then try accessing te page again and see if you get a message.
That fixed it, thanks.

Quote:

I'll take a look into this. It shouldn't be difficult. Only minor problem is that the magnifier is also used to control the optional lightbox display for these images.
Much appreciated.


EDIT:

How do I integrate this with vBadvanced? I tried vBa CMPS > Integration > THIS_SCRIPT Integration Method > local_links, which seems to work on all pages just fine, except when attempting to play a file /local_links.php?action=play&catid=X&linkid=X&page= X.

local_links.php
http://img385.imageshack.us/img385/1...8linksass2.png

local_links.php?action=play&catid=X&linkid=X&page= X
http://img165.imageshack.us/img165/3...7jukebogm3.png

This is with a fresh install of vB, LDM and vBa. I assume I've done something wrong again, but can't figure out what it is.

-------

Also, when visiting local_links_admin.php?set=permissions, "default_forumid" links to /local_links_admin.php?set=settings, missing the bit in red.

AndrewD 06-07-2008 03:46 PM

Quote:

Originally Posted by IR15H (Post 1543204)
I disabled the tracking (Woopra) and changed my forum url (vBulletin Options > vB Options > Site Name / URL / Contact Details) to no longer include www. at the beginning. No joy.

Take a look at how you have set up the entries in this category. When I view the link you sent me, it's displaying on www.gamingperfection.com. When I click on one of the videos, it takes me to gamingperfection.com and creates new cookies for a logged out user

IR15H 06-07-2008 04:28 PM

Quote:

Originally Posted by AndrewD (Post 1543248)
Take a look at how you have set up the entries in this category. When I view the link you sent me, it's displaying on www.gamingperfection.com. When I click on one of the videos, it takes me to gamingperfection.com and creates new cookies for a logged out user

I tried signing in at http://gamingperfection.com/forum/lo...ks.php?catid=3, and also viewing the video from there, I still get logged out when navigating away to other http://gamingperfection.com links. I also tried logging in at http://gamingperfection.com, and then going directly to http://www.gamingperfection.com, I remained logged in whilst not ticking the "Remember Me?" box.

If you want, I could set up an admin account for you to check settings, as I'm at a loss with it.

-------------

PS. I edited my previous reply after you posted, as I didn't realised you'd already posted.

AndrewD 06-07-2008 05:50 PM

Quote:

Originally Posted by IR15H (Post 1543284)
I tried signing in at http://gamingperfection.com/forum/lo...ks.php?catid=3, and also viewing the video from there, I still get logged out when navigating away to other http://gamingperfection.com links. I also tried logging in at http://gamingperfection.com, and then going directly to http://www.gamingperfection.com, I remained logged in whilst not ticking the "Remember Me?" box.

If you want, I could set up an admin account for you to check settings, as I'm at a loss with it.

-------------

PS. I edited my previous reply after you posted, as I didn't realised you'd already posted.

sure, send me a pm with admin details. I'll take a look

Jah-Hools 06-07-2008 08:25 PM

Are there some screen shots?

I would like to learn how categories & entries are displayed

Thanks

RikiB 06-07-2008 10:21 PM

I was wondering if it is currently possible to ban or restrict a user if they try and download a file from multiple IPs. Or perhaps there would be some other solution to ensure users do not give their login information to their friends and allow them to download the files.

Thanks
Riki

TrIn@dOr 06-08-2008 03:24 AM

I installed it in Spanish, how can i have it in English too?, how can i complement it to have the 2 languages?

Thanks in advance.

AndrewD 06-08-2008 04:00 AM

Quote:

Originally Posted by Jah-Hools (Post 1543489)
Are there some screen shots?

I would like to learn how categories & entries are displayed

Thanks

Take a look at the wiki, http://www.eirma.org/wikis/index.php...nloads_Manager

AndrewD 06-08-2008 04:05 AM

Quote:

Originally Posted by RikiB (Post 1543562)
I was wondering if it is currently possible to ban or restrict a user if they try and download a file from multiple IPs. Or perhaps there would be some other solution to ensure users do not give their login information to their friends and allow them to download the files.

Thanks
Riki

I can't see how that could work reliably - domestic users tend to have dynamic IP addresses so are likely to show up on different addresses in any case.

AndrewD 06-08-2008 04:08 AM

Quote:

Originally Posted by TrIn@dOr (Post 1543712)
I installed it in Spanish, how can i have it in English too?, how can i complement it to have the 2 languages?

Thanks in advance.

Yes - the phrases for each language are in the development/phrases directory in the zip. You can install a second language by going to vb/admincp/languages/upload languages/. Upload the English xml file and tell vb to overwrite English. Since the file contains new phrases, you don't damage the main phrases.

TrIn@dOr 06-08-2008 02:45 PM

Quote:

Originally Posted by AndrewD (Post 1543736)
Yes - the phrases for each language are in the development/phrases directory in the zip. You can install a second language by going to vb/admincp/languages/upload languages/. Upload the English xml file and tell vb to overwrite English. Since the file contains new phrases, you don't damage the main phrases.

Thanks a lot!!

macc 06-08-2008 03:32 PM

Hello!

i have last version of LCD and vbulletin 3. 7. 1

when i want to add some entry or image .. i get this error after i click to submit button!

Code:

Your submission could not be processed because a security token was missing or mismatched.
If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

some help?

regards

macc

AndrewD 06-08-2008 03:51 PM

Quote:

Originally Posted by macc (Post 1544168)
Hello!

i have last version of LCD and vbulletin 3. 7. 1

when i want to add some entry or image .. i get this error after i click to submit button!

Code:

Your submission could not be processed because a security token was missing or mismatched.
If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

some help?

regards

macc

check to see if you have modified one of the LDM templates. If you have versions from before 2.2.9, you will hit this error because of vbulletin's latest security checks.

macc 06-08-2008 03:55 PM

i have no modifed any template of LDM and i have last verison of LDM - 2.2.9 (updated for few days before)

regards

macc

www.belaplay.com (you have admin account there)


edit: i do this in local_links.php and local_links_actions.php

define('THIS_SCRIPT', 'local_links_actions');
//define('CSRF_PROTECTION', true);

now i can add entry!

edit: i do not updated vb cmps modules - those is from old versions - maybe is that problem?
how to updated modules for cmps - 3. 0. 1 ?

abdelghani68 06-08-2008 05:07 PM

is it possible to put a title to the library to the place indicated on the screen shot?

If yes, how? because I did not find.

Thank you for your help

AndrewD 06-08-2008 05:36 PM

Quote:

Originally Posted by macc (Post 1544183)
i have no modifed any template of LDM and i have last verison of LDM - 2.2.9 (updated for few days before)

regards

macc

www.belaplay.com (you have admin account there)


edit: i do this in local_links.php and local_links_actions.php

define('THIS_SCRIPT', 'local_links_actions');
//define('CSRF_PROTECTION', true);

now i can add entry!

edit: i do not updated vb cmps modules - those is from old versions - maybe is that problem?
how to updated modules for cmps - 3. 0. 1 ?

no - the link_addnewlink template (which is the one used to create new entries) had been customised - not sure if that was something I did for yuo or not - anywhay I have 'reverted' that template and you should be ok with the original code (or indeed with the code as you have modified it)

to upgrade vba modules, you have to remove the existing modules and then reinstall them.

AndrewD 06-08-2008 06:20 PM

Quote:

Originally Posted by abdelghani68 (Post 1544252)
is it possible to put a title to the library to the place indicated on the screen shot?

If yes, how? because I did not find.

Thank you for your help

If you want this to appear on the entry page, create a new plugin attached to the ldm_maindisplay_end hook, with code looking something like this:

Code:

if ($viewcatid<0) {
  $viewcattext = "<div align='center'>this is my text message</div>";
}


macc 06-08-2008 06:48 PM

can you explain more please..how rename modules and reinstal them ?

regards

macc

macc 06-08-2008 07:18 PM

Thanks for help and your time ... will test later to add some entries !

regards

macc

AndrewD 06-09-2008 04:04 AM

Quote:

Originally Posted by macc (Post 1544330)
can you explain more please..how rename modules and reinstal them ?

regards

macc

sorry, meant to type 'remove' not 'rename'

I assume that you've already got an up-to-date version of vba installed

Take a note of your module layout on your vba page(s)

Go to vb/admincp/vba/edit modules, and remove each LDM module. Say 'yes' to delete php file.

Go to vb/admincp/vba/download & upload modules, and reinstall these modules from the current ldm release, saying yes' to over-write the templates

kevinh 06-09-2008 08:19 AM

Hi,
I was hoping another knowledgeable LDM user could help me out. I'm trying to modify the minimalistic Template: "links_linkbit_featured" by adding in Keywords functionality that exists in the Template: "links_linkbit_mshort" ('modern short'), without the box that exists in the latter template.

See attached screen shot - I want "Keywords" to appear where it says "test".

I have tried copying and pasting code from one template to the other but I can't quite get it right.

If this is more complex than simply copying and pasting code into the template I would be happy to pay someone to do this for me.

Thanks,
Kevin

shlomot 06-10-2008 10:14 AM

Are you an LDM expert? We need a tutor/integrator to help us do things right with this great add-on.

Please PM me.

PitchouneN64ngc 06-10-2008 03:02 PM

Hey AndrewD, by translating it in French for 2.2.9, I've seen a little bug.

When you moderate links, there is some templates which are not cached ('links_likebit' and 'links_sendtofriendbit').

AndrewD 06-10-2008 03:20 PM

Quote:

Originally Posted by PitchouneN64ngc (Post 1545912)
Hey AndrewD, by translating it in French for 2.2.9, I've seen a little bug.

When you moderate links, there is some templates which are not cached ('links_likebit' and 'links_sendtofriendbit').

Thanks, will fix in the post-1 release, coming very soon.

AndrewD 06-10-2008 03:58 PM

Quote:

Originally Posted by kevinh (Post 1544804)
Hi,
I was hoping another knowledgeable LDM user could help me out. I'm trying to modify the minimalistic Template: "links_linkbit_featured" by adding in Keywords functionality that exists in the Template: "links_linkbit_mshort" ('modern short'), without the box that exists in the latter template.

See attached screen shot - I want "Keywords" to appear where it says "test".

I have tried copying and pasting code from one template to the other but I can't quite get it right.

If this is more complex than simply copying and pasting code into the template I would be happy to pay someone to do this for me.

Thanks,
Kevin

Kevin, the change to the template is straightforward:

Code:

<if condition="$linkkeys"><br />$vbphrase[ll_keywords]: $linkkeys</if>
This works if you tell a normal LDM display to use the featured linkbit. However, it will not work with the standard 'featured' display as it stands, because (for reasons of efficiency) the keywords are not cached at that point in the code. It's an easy change to make to the code - let me know what you need.

maroceve 06-11-2008 09:44 AM

hello, does anybody have troubles displaying the PNG's ? from the ox icons ? it' makes a huge mess in the width of the ldm library entries ...Since it displays the link phrase and not the ICONS....

Anyone encountered that problem ?

AndrewD 06-11-2008 09:54 AM

Quote:

Originally Posted by maroceve (Post 1546534)
hello, does anybody have troubles displaying the PNG's ? from the ox icons ? it' makes a huge mess in the width of the ldm library entries ...Since it displays the link phrase and not the ICONS....


Anyone encountered that problem ?

It displays text if it cannot find the icons in the directory you have specified. Check (LDM/admin/settings) that you have pointed file_icons_dir at the right place.

kevinh 06-11-2008 11:20 AM

Quote:

Originally Posted by AndrewD (Post 1545948)
..... It's an easy change to make to the code - let me know what you need.

Thanks Andrew, but my freind Cam has sorted it out with your help (I didn't know he had contacted you as well).

Cheers,
Kevin

shlomot 06-11-2008 11:38 AM

Hello, can someone teach me how I can post an iFrame link to the merchant's site as an affiliate?

Best is to define an attribute for it, however - I'll even be happy to know how to post the iFrame in the textarea description field.

A typical example for such iFrame would be AllPosters':
Code:

<IFRAME name="apciframe" id="apciframe" style="width:504px;height:1083px;" marginwidth="0" marginheight="0" src="http://affiliates.allposters.com/PosterStore/347730_PosterStore.htm" scrolling="no" frameborder="0"><a class="APCAnchor" href="http://affiliates.allposters.com/link/redirect.asp?AID=1578089047&PSTID=4&LTID=16&lang=1">Buy Usher Raymond posters and art</a></IFRAME>
Thanks for your help.

maroceve 06-11-2008 12:55 PM

Quote:

Originally Posted by AndrewD (Post 1546540)
It displays text if it cannot find the icons in the directory you have specified. Check (LDM/admin/settings) that you have pointed file_icons_dir at the right place.

Actually it keeps adding a slash at the end of the adress : So when i enter /images/ldmicons

it transforms it to images/ldmicons/

glowinggal 06-11-2008 01:31 PM

we just moved our server to a new host and now for some reason all the thumbnails that were originally associated with each download is not showing. It's still showing as "linked" and the files are there as i checked that already; but they aren't actually coming up in LDM?


All times are GMT. The time now is 05: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.02814 seconds
  • Memory Usage 1,878KB
  • 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
  • (5)bbcode_code_printable
  • (26)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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