vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Latest Threads On Forum Home (https://vborg.vbsupport.ru/showthread.php?t=83230)

himerus 12-20-2005 06:36 PM

Okay, this is a great plugin, however, I need to make some modifications, and this is the first time I've worked with vB since 3.0.3....

The plugin system is a little new to me...

I need to have this plugin show up on EVERY vbulletin page... I'm not worried about queries affecting performance... but I looked at moving the settings on the plugin to a different location, but it won't show up.

I have had to move the template code to the footer template in order to accomplish what I'm looking for, so can someone give me the quick tip on what I'm going to need to do to get this plugin to work with my footer template, and on every page????

Vierie 12-20-2005 06:53 PM

Add
PHP Code:

require_once('./includes/functions_forumlist.php'); 

once at the beginning of the php code in the xml-file and change the position of the hook to global_start.

After that you should be able to use the code in the footer.

himerus 12-20-2005 07:11 PM

Quote:

Originally Posted by Vierie
require_once('./includes/functions_forumlist.php');

You are AWESOME!!!!

Worked like a charm....

nmu98 12-21-2005 04:39 PM

The forum thread icons will not show in this. it shows
PHP Code:

http://www.thedieselgarage.com/forums/http://www.thedieselgarage.com/forums/images/icons/icon4.gif 

2 addys? How do I get it to remove the first part?

Chris M 12-21-2005 06:03 PM

Alter forumhome_latestthreadbit:
Find:
Code:

<img src="$vboptions[bburl]/$thread[threadiconpath]" border="0" alt="$thread[threadicontitle]" title="$thread[threadicontitle]" style="vertical-align: text-middle" />
change to:
Code:

<img src="$thread[threadiconpath]" border="0" alt="$thread[threadicontitle]" title="$thread[threadicontitle]" style="vertical-align: text-middle" />
Chris

Prince 12-21-2005 06:06 PM

can someone please tell me how many queries this adds to forum home?

thanks

nmu98 12-21-2005 06:24 PM

Thanks Chris, that worked perfectly!!!!!

Chris M 12-21-2005 11:34 PM

Quote:

Originally Posted by Prince
can someone please tell me how many queries this adds to forum home?

thanks

1 :)

Chris

Prince 12-22-2005 02:06 AM

can some one post the code to either limit forums or choose the forums you want it to display please?

I have read all through this thread and the only thing that sort of worked is this:

$limitfids = x;

but it only allows you to exclude ONE forum from the latest threads and I have 6 that I want exclude.

thanks

wrang 12-22-2005 05:29 PM

What do i do wrong it still dosent work and dont know what i shuld do to

RichieBoy67 12-22-2005 08:59 PM

Quote:

Originally Posted by Chris M
Hrm...

You will need to alter the query this time :p

Again, not tested, but in the plugin code, find:
PHP Code:

AND forumid NOT IN (0$limitfids

add above:
PHP Code:

AND forumid IN ($showfids

Now find:
PHP Code:

    // ## HIDE FORUMS WITHOUT THE CANVIEW PERMISSION ##
    
if (!$forumperms["$forum[forumid]"] & $vbulletin->bf_ugp_forumpermissions['canview']) {
        
$limitfids .= ','.$forum['forumid'];
    } 

add below:
PHP Code:

$showfids x,y,z

Replace [high]x,y,z[/high] with the forumids you want users to be able to view :)

Satan

Just wondering, Has anyone tested this yet????



To block forums from showing I believe this will work. Place the id of the forums here.. replace the zero with the forums you want blocked..

PHP Code:

 AND forumid NOT IN (0$limitfids

I just tested this and it works. These are the same instructions as for the other latest threads hack only you edit the xml file instead of the index file...

Prince 12-22-2005 11:17 PM

I guess I am just stupid because that does not work, I get errors.

Chris M 12-22-2005 11:37 PM

Code:

$limitfids = ',x,y,z';
Chris

Prince 12-22-2005 11:40 PM

that causes errors, the only way it works is with one number in there:

$limitfids = x;

Lizard King 01-04-2006 11:51 PM

It is not getting the right threads with correct time.
The last thread time shows : 03:45
But the correct time shall be : 22.39

WoodiE 01-06-2006 11:11 PM

I'm trying to use this with the Right side menu plugin here on vb.org and when I insert the code into the menu nothing is displayed. Any ideas?

-Michael

Mathiau 01-07-2006 10:47 PM

Installed on vb 3.5.3 on 6 templates and all work perfect!

Lizard King 01-07-2006 10:54 PM

is there a way to add ajax auto refresh option to this ?

Vierie 01-08-2006 09:42 AM

Quote:

Originally Posted by WoodiE
I'm trying to use this with the Right side menu plugin here on vb.org and when I insert the code into the menu nothing is displayed. Any ideas?

-Michael

Add
PHP Code:

require_once('./includes/functions_forumlist.php'); 

once at the beginning of the php code in the xml-file and change the position of the hook to global_start.

After that you should be able to use the code in the right column.

MarsNIIT 01-09-2006 03:43 AM

Hello,

I have two forum: music and IT,

But i want display Latest Threads of two forum display On Forum Home will divide 2 part, above is latest thread of forum IT, and below is latest thread of forum Music.

How to do it. Thank you.

Bytecon 01-12-2006 04:58 PM

Quote:

Originally Posted by Lizard King
is there a way to add ajax auto refresh option to this ?

Now that would be too cool ..

imported_yesonline 01-17-2006 09:04 PM

I imported the .xml and modified the FORUMHOME template and the mod is working on my forum, however, I see there is a "Step 3: Click INSTALL" which I don't know how to do it? I can not find the INSTALL link or something like that on my forum, is it a necessary and must do step? The mod has been working on my forum now, my vb is 3.5.3.

thanks

Vierie 01-18-2006 12:37 PM

Scroll up to the very first post of this thread. On the right side you will find something like:
Mod Options
Install this Modification
Report this Modification

Click on "Install this Modification". Done.

majoreyeswater 01-18-2006 10:13 PM

Wouldn't mind some help.

I have installed this on my messageboard - its a great option, but not working quite perfectly for me. I am not 'live' as yet, i.e. just some test users, but I get two different views when looking through different browsers (not surprising)

Through Firefox works ok, but without any icons/smilies (whatever is supposed to be depicted) and through IE I get the unpleasant image not found 'x'.

Could someone advise why this might be as I haven't a clue.

http://www.leedsfanclub.com

mbader71 01-21-2006 10:21 AM

Installed and working fine,

thanks alot man

Eagle Creek 01-21-2006 10:25 AM

Having a problem with this :(.

I installed it when my board was at the domain antispywareoffensief.nl. But since we moved it to nucia.nl it gives a doulbe URL at my icons.
Please have a look at the screenshot:
https://vborg.vbsupport.ru/attachmen...id=41349&stc=1

As you can see two URL's are give. Is this a bigger problem (something like a setting somewhere) or is this a problem within the hack I can fix?

shaynehammy 01-21-2006 10:02 PM

Very nice.

Quick question. How many threads will it display in Latest threads and is there a way to modify this?

Thanks

Vierie 01-21-2006 10:12 PM

It displays 5 threads. If you want to change it, search for
PHP Code:

DESC LIMIT 5"); 

in the xml file and change that number to whatever number you need.

shaynehammy 01-22-2006 09:36 PM

Thank you for your help. Can we marquee this in anyway?

The Chief 02-01-2006 03:59 PM

installed and works great, thanks!!

/me clicks install

croportal 02-06-2006 06:19 PM

how can i have that on nobn vbulletin page

Sam Granger 02-08-2006 11:29 PM

How do I remove the "? Replies: 0 ? Views: 2 " part?

By the way, great mod!! :D

itorrents 02-11-2006 05:26 PM

Working fine for me, on 3.5.3 :)

bashy 02-12-2006 12:15 PM

This has stopped working for me...
The box is still there but no threads init...

Legende 02-13-2006 04:27 PM

is it possible to show the main forum before the sub forum? because at the moment it only shows the subforum and i have like 10 sub-forums with the same name .. hope you understand

greets

somasimple 03-01-2006 04:33 AM

Hi All,

Is there a way to show the forum belonging (like in the New posts link)?
I wanted to show it just after the thread title.
Thanks.

GuaRRand 03-01-2006 05:25 AM

Screenshots??

somasimple 03-01-2006 05:43 AM

Hi,
the forum page of the site www.somasimple.com/forums/ shows the installed feature but I want a little mod because members asked for the forum belonging of threads shown.

Legende 03-05-2006 05:28 PM

is it possible to show the main-forum infront the sub-forum? because i have some sub-forums with similiar names

MRGTB 03-05-2006 11:04 PM

Quote:

Originally Posted by Legende
is it possible to show the main-forum infront the sub-forum? because i have some sub-forums with similiar names

Does this display "Locked Threads", if NOT how can you make it display them?


All times are GMT. The time now is 08:14 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.01633 seconds
  • Memory Usage 1,827KB
  • 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
  • (9)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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