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)

obmob 06-08-2009 04:57 PM

Ok... this was a busy weekend, will read carefully, good week :D

Alfa1 06-08-2009 06:23 PM

Quote:

Originally Posted by AndrewD (Post 1825740)
LDM/admin/permissions/can_play_musicbox

I had that permission turned off.

Quote:

Originally Posted by AndrewD (Post 1825740)
I'll give these points some thought

Thanks.

I would like to display an 'upload file' button within each category. Adding a button is relatively easy to do, but I would like the category to be selected on the upload page. I have been looking to find the code.
Here is what I have come up with for the links_main template so far:
Code:

<td class="smallfont"><a href="$LINKS_SCRIPT.php?{$vbulletin->session->vars['sessionurl']}action=addlink&amp;catid=<if condition="$viewcatid">
rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="Post new file" border="0" /></a><else />&nbsp;</if></td>

But that does not select the category, like it should. Do you know what I am doing wrong?

Alfa1 06-08-2009 09:16 PM

The LDM Similarthreads plugin has a problem. At least when several thousand visitors try to open threads around the same time.

Threads would not open anymore. A mass of queries where launched. Tables started locking. Here are the queries that where running when my site went down:
Quote:

stop proces 1180 database_name localhost database_name
Query 32 updating DELETE FROM vb6_linksdebug WHERE settingtime <
'1243891011'
stop proces 1181 database_name localhost database_name Query 32
Locked DELETE FROM vb6_linksdebug WHERE settingtime < '1243891011'
stop proces 1183 database_name localhost database_name Query 32
Locked DELETE FROM vb6_linksdebug WHERE settingtime < '1243891013'
stop proces 1184 database_name localhost database_name Query 32
Locked DELETE FROM vb6_linksdebug WHERE settingtime < '1243891014'
stop proces 1191 database_name localhost database_name Query 32
Locked DELETE FROM vb6_linksdebug WHERE settingtime < '1243891016'
stop proces 1192 database_name localhost database_name Query 32
Locked DELETE FROM vb6_linksdebug WHERE settingtime < '1243891016'
stop proces 1193 database_name localhost database_name Query 32
Locked DELETE FROM vb6_linksdebug WHERE settingtime < '1243891016'
stop proces 1196 database_name localhost database_name Query 32
Locked DELETE FROM vb6_linksdebug WHERE settingtime < '1243891017'
stop proces 1200 database_name localhost database_name Query 32
Locked DELETE FROM vb6_linksdebug WHERE settingtime < '1243891017'
I deactivated the plugins and all went back to normal.

AndrewD 06-09-2009 03:08 AM

Quote:

Originally Posted by Alfa1 (Post 1825973)
The LDM Similarthreads plugin has a problem. At least when several thousand visitors try to open threads around the same time.

Threads would not open anymore. A mass of queries where launched. Tables started locking. Here are the queries that where running when my site went down:
I deactivated the plugins and all went back to normal.

I'm not surprised, and this is why I was saying yesterday that one needs to keep the functionality of these plugins under control.

However, I think the error messages that you are reporting are happening because you have switched on LDM's debug or tracing feature - they are not related to the *similarthreads* plugin. There is no reason at all why you need debug or trace in normal use - all it's doing is adding a lot of overhead in terms of database access. I suggest you disable this feature and see whether the other plugins are still causing problems.

Debug and tracing are found on LDM->admin->debug

AndrewD 06-09-2009 03:29 AM

Quote:

Originally Posted by Alfa1 (Post 1825878)
I would like to display an 'upload file' button within each category. Adding a button is relatively easy to do, but I would like the category to be selected on the upload page. I have been looking to find the code.
Here is what I have come up with for the links_main template so far:
Code:

<td class="smallfont"><a href="$LINKS_SCRIPT.php?{$vbulletin->session->vars['sessionurl']}action=addlink&amp;catid=<if condition="$viewcatid">
rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="Post new file" border="0" /></a><else />&nbsp;</if></td>

But that does not select the category, like it should. Do you know what I am doing wrong?

Code:

<td class="smallfont">
<if condition="$viewcatid>0"><a href="$LINKS_SCRIPT.php?{$vbulletin->session->vars['sessionurl']}action=addlink&amp;catid=$viewcatid"
rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="Post new file" border="0" /></a><else />&nbsp;</if>
</td>


pooslokka 06-09-2009 07:37 AM

Quote:

Originally Posted by pooslokka (Post 1798187)
oh great ;)

btw, ill check the information you gave and reply you asap
Thank you andrewD for the kind corporation :)

Hai andrew, sorry for the delayed reply

i went to our vps lx admin panael and change the max memory limit to 65
but its not taking effect in vb admin
still shows old value

in lx admin
https://vborg.vbsupport.ru/

after changing, i login to vb admin
but still 32

https://vborg.vbsupport.ru/

uploading pic also still same problem.


Edit : May be i need to reboot the vps right?
Edit : banghead. even after restart of vps, it says 32 :)

skol 06-09-2009 08:04 AM

Quote:

Originally Posted by AndrewD (Post 1825672)
Sorry to hear this. Do you want me to take a look - I can't easily suggest a solution otherwise. Send me a PM with site details + a full admin account.

Superb Andrew thank you,all up and running..:D

AndrewD 06-09-2009 10:00 AM

Quote:

Originally Posted by pooslokka (Post 1826205)
Hai andrew, sorry for the delayed reply

i went to our vps lx admin panael and change the max memory limit to 65
but its not taking effect in vb admin
still shows old value

in lx admin
https://vborg.vbsupport.ru/

after changing, i login to vb admin
but still 32

https://vborg.vbsupport.ru/

uploading pic also still same problem.


Edit : May be i need to reboot the vps right?
Edit : banghead. even after restart of vps, it says 32 :)

I'm sorry - I cant really help you with specific server problems. I have no idea whether the parameter you have changed is the the required php parameter or not.

sparklywater 06-09-2009 09:54 PM

Quote:

Originally Posted by AndrewD (Post 1825671)
Several thoughts:

3) Does Google actually index urls with long "?action=xxx..." params?

Andrew, I suspect that this might be the cause of the indexing problem. I've checked the other two options you listed and they both look fine. It is possible that Google is overlooking URLs that end in ?action=play...
I already have vbSEO installed. Can you suggest a way to change the core format of those URLs so that they are more conventional, without the ?action=play part?

AndrewD 06-10-2009 11:55 AM

Quote:

Originally Posted by sparklywater (Post 1826691)
Andrew, I suspect that this might be the cause of the indexing problem. I've checked the other two options you listed and they both look fine. It is possible that Google is overlooking URLs that end in ?action=play...
I already have vbSEO installed. Can you suggest a way to change the core format of those URLs so that they are more conventional, without the ?action=play part?

You can get LDM to present a more conventional url with the SEO options on LDM->admin. However, these will only work if the web server is properly configured to recognise them. You can find an explanation in the wiki. I have no idea if this can be set up with vbseo - I'm not keen to pay them for a licence in order to develop software that works with their product :)

Could you let me know the url of a page on your site that you want Google to scan, then I can see if I have other ideas.


All times are GMT. The time now is 08:12 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.02666 seconds
  • Memory Usage 1,762KB
  • 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
  • (3)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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