vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Forum Display Enhancements - Article Forums (https://vborg.vbsupport.ru/showthread.php?t=211638)

dfc005 06-25-2009 04:00 AM

Would love to see the Most Read Articles and Most Commented Articles sections be in a certain time frame and not set by all time.

For instance would love the option to have the Most Read and Most Commented on to be just for the last week so it would still be topical and would show the current hot articles etc.

bananalive 06-25-2009 03:21 PM

Quote:

Originally Posted by dfc005 (Post 1836862)
Would love to see the Most Read Articles and Most Commented Articles sections be in a certain time frame and not set by all time.

For instance would love the option to have the Most Read and Most Commented on to be just for the last week so it would still be topical and would show the current hot articles etc.

This data is not stored by vbulletin

bananalive 06-25-2009 03:23 PM

Quote:

Originally Posted by skooby (Post 1836690)
Hey guys,
I want the thumbnails on the page to be larger but can't figure it out. They aren't attached (the script is finding the image and posting it as a thumbnail). I tried to increase the attached thumbnail size to 200 anyway (even though these arent attachments), and went to maintenance and rebuilt the attachment thumbnails, but the images still show up the same size? It keeps scaling to 100 x 75 px. I'm running vBulletin 3.8.1

Thanks for the mod, it's GREAT!

template af_articlebit
Code:

max-width: 100px; max-height: 100px;
chnage it for the div and the img tags

bananalive 06-25-2009 03:25 PM

Quote:

Originally Posted by Omar Al-Ansari (Post 1836500)
Ok .. I got all the links working properly manually .. almost :)

Changes to be done to the following templates

af_articlebit
af_articlesmallbit
af_authorsmallbit
af_catbit
af_left
af_left_alt
af_letter
af_right
af_right_alt

Search for:

Code:

<a href="
Replace by:

Code:

<a href="$vboptions[bburl]/
Now all links are working properly except for the buttons which are highlighted in the attached file.

Would appreciate the help

In templates: af_left and af_left_alt

HTML Code:

<form action="search.php

bananalive 06-25-2009 03:26 PM

Quote:

Originally Posted by Omar Al-Ansari (Post 1836380)
Thanks rEd86 for your reply

I tried doing that but the issue is the link I am getting is wrong

Code:

http://www.xxxx.com/'.Array['bburl'].'/showthread.php?t=2
Any ideas?

put curly brackets around the php variable like {$vbulletin->options[bburl]}

skooby 06-25-2009 03:34 PM

1 Attachment(s)
Quote:

Originally Posted by bananalive (Post 1837139)
template af_articlebit
Code:

max-width: 100px; max-height: 100px;
chnage it for the div and the img tags

Thank you very much! :)

Sorry for all the questions, but is there a way to have a forced resolution so no matter the dimensions of the picture, it forces the preview thumbnail to that size? If you look at my attachment you will see that the articles are all un-aligned, and I would like them to align if possible.

Many thanks again.

Omar Al-Ansari 06-25-2009 05:48 PM

1 Attachment(s)
Quote:

Originally Posted by bananalive (Post 1837142)
put curly brackets around the php variable like {$vbulletin->options[bburl]}

Thanks bananalive

that was very helpful however now because of me using the articles.php as the index in the root folder i am not able to properly use the navigation bar. The interactive dropdown lists are not working as well as the links.

Is there an easy go around this

you can see the difference in the attached pictures of both one of them is in the root and the other in the forms folder

help is appreciated:)

bananalive 06-25-2009 06:51 PM

Quote:

Originally Posted by skooby (Post 1837150)
Thank you very much! :)

Sorry for all the questions, but is there a way to have a forced resolution so no matter the dimensions of the picture, it forces the preview thumbnail to that size? If you look at my attachment you will see that the articles are all un-aligned, and I would like them to align if possible.

Many thanks again.

Vbulletin options -> Article Forum Options -> Fixed Thumbnail Width -> Yes

bananalive 06-25-2009 06:55 PM

Quote:

Originally Posted by Omar Al-Ansari (Post 1837263)
Thanks bananalive

that was very helpful however now because of me using the articles.php as the index in the root folder i am not able to properly use the navigation bar. The interactive dropdown lists are not working as well as the links.

Is there an easy go around this

you can see the difference in the attached pictures of both one of them is in the root and the other in the forms folder

help is appreciated:)

View page source and look for line this this:

HTML Code:

<script type="text/javascript" src="clientscript/vbulletin_menu.js?v=382"></script>
this is the javascript file for drop down menus. check it is pointing to the correct location.

skooby 06-25-2009 08:37 PM

1 Attachment(s)
Thanks for the quick response. When I change the option to make the thumbnails all fixed though, it cuts off the images (since I've made the images 200 x 200 instead of 100 x 100 in the template fix you gave me).

Is there anyway to have it so I can make the images a bit larger, and also have them align without cutting off the image? Sorry for my lack of PHP and thanks again for the help.

See attached for a screen shot. 01 is with the fixed width off, and 02 is with the fixed width on.

Thanks!


All times are GMT. The time now is 12:21 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.01825 seconds
  • Memory Usage 1,756KB
  • 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
  • (2)bbcode_html_printable
  • (8)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