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)

Chris M 06-23-2005 12:05 PM

I would imagine that you might have to require_once functions_forumlist.php

PHP Code:

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

Only a guess...

Satan

albarq 06-23-2005 12:49 PM

:s

i dont think so,

i searched in file functions.php and it was requird once ... , or do you mean i need to added in some where in your plug-in?

thank you for your helping

Chris M 06-23-2005 02:45 PM

In index.php there are calls to three files, global.php, functions_bigthree.php and functions_forumlist.php

A call to non-member function suggests that there is an element in functions.php that is missing that is obviously called upon in one of those three required files in index.php :)

Satan

bing11 06-25-2005 07:34 AM

I try and very well done.

Could you tell me How can make it order by the new thread time

Chris M 06-25-2005 01:15 PM

I'm not sure I understand this request - It shows the newest thread replied to...

Satan

bing11 06-25-2005 01:56 PM

Quote:

Originally Posted by hellsatan
I'm not sure I understand this request - It shows the newest thread replied to...

Satan

Just show new threads . If Post reaply .It's cannot be up

:)

Chris M 06-25-2005 02:23 PM

Ah I see - You want it to show the most recent created threads, not ones that have just been replied to ;)

I shall look at the code and have something probably by monday (going out tonight and working tomorrow) :)

Satan

bing11 06-27-2005 02:08 AM

Quote:

Originally Posted by hellsatan
Ah I see - You want it to show the most recent created threads, not ones that have just been replied to ;)

I shall look at the code and have something probably by monday (going out tonight and working tomorrow) :)

Satan

Have you done? :)

Thanks a lot

Kirk Y 06-29-2005 03:46 AM

Two of the posticons aren't showing up properly. When I tried to find the path from which it was attempting to pull the image from I got this:
Code:

http://www.socomcity.net/forum/http://www.socomcity.net/forum/images/icons/icon10.gif
It appears to be adding the full link, instead of just images/icons/icon10.gif.
Any help would be much appreciated. Also, the URL is directing itself to the wrong folder... it should be going to forum_beta2, not forum.

Loki12 06-30-2005 05:09 AM

I installed as you said, but nothing is showing up on the forumhome ... :ermm: I am running on 3.5.0 Beta 3

Chris M 06-30-2005 05:28 AM

Quote:

Originally Posted by Loki12
I installed as you said, but nothing is showing up on the forumhome ... :ermm: I am running on 3.5.0 Beta 3

Nothing as in no "Latest Threads" box or just the content within it?

Satan

Chris M 06-30-2005 05:29 AM

Quote:

Originally Posted by acidburn0520
Two of the posticons aren't showing up properly. When I tried to find the path from which it was attempting to pull the image from I got this:
Code:

http://www.socomcity.net/forum/http://www.socomcity.net/forum/images/icons/icon10.gif
It appears to be adding the full link, instead of just images/icons/icon10.gif.
Any help would be much appreciated. Also, the URL is directing itself to the wrong folder... it should be going to forum_beta2, not forum.

Check your image paths and make sure you have set your vBulletin Options forum url correctly :)

Satan

Loki12 06-30-2005 10:44 AM

Quote:

Originally Posted by hellsatan
Nothing as in no "Latest Threads" box or just the content within it?

Satan

Nothing new at all ... no "Latest Threads" box or any content.

Chris M 06-30-2005 01:00 PM

Then you haven't edited the FORUMHOME template correctly;)

Satan

Loki12 06-30-2005 07:19 PM

Quote:

Originally Posted by hellsatan
Then you haven't edited the FORUMHOME template correctly;)

Satan

You are right! :rolleyes: Works like a charm now ...

Chris M 06-30-2005 08:07 PM

[high]Update[/high]
Beta 3: Update to confirm that this plugin works with vBulletin 3.5.0 Beta 3;)

Satan

Michael2 07-01-2005 04:00 PM

Any way to only have this pull new threads from specified forums? Would definitely like to use this, thanks for your work on it. :)

Chris M 07-01-2005 04:44 PM

https://vborg.vbsupport.ru/showpost....5&postcount=37

:)

Satan

Michael2 07-01-2005 05:13 PM

Haha, I was sure it must have been asked already but missed it. Thanks!

Loki12 07-02-2005 09:14 AM

Quote:

Originally Posted by hellsatan
Check your image paths and make sure you have set your vBulletin Options forum url correctly :)

Satan

I get the same ... the post icons' path is incorrect. Is there any way to change this, because it is annoying?

Loki12 07-02-2005 03:52 PM

Quote:

Originally Posted by acidburn0520
Two of the posticons aren't showing up properly. When I tried to find the path from which it was attempting to pull the image from I got this:
Code:

http://www.socomcity.net/forum/http://www.socomcity.net/forum/images/icons/icon10.gif
It appears to be adding the full link, instead of just images/icons/icon10.gif.
Any help would be much appreciated. Also, the URL is directing itself to the wrong folder... it should be going to forum_beta2, not forum.

Please let me know if you've found a solution to this. Since it looks bad on the forum home, I will uninstall if a solution is not available soon.

Chris M 07-02-2005 04:44 PM

The only solution I can give you would be to check your icon paths are correct, and to check your templates to make sure you haven't got any incorrect image paths saved in your templates...

Satan

Chris M 07-02-2005 04:49 PM

As you can see from this screenshot I have attached, they work for me :squareeyed:

Satan

Jenta 07-02-2005 05:46 PM

It works but as someone mentioned earlier. If someone doesnt have permission to view a forum they can still see the threads created there and the thread content is visible to them when they hover over the links.
Had to disable it since it was sensitive information being displayed to everyone. :(

Chris M 07-02-2005 05:54 PM

Quote:

Originally Posted by Jenta
It works but as someone mentioned earlier. If someone doesnt have permission to view a forum they can still see the threads created there and the thread content is visible to them when they hover over the links.
Had to disable it since it was sensitive information being displayed to everyone. :(

I fixed this in a previous version :ermm:

Satan

Loki12 07-02-2005 06:02 PM

Quote:

Originally Posted by hellsatan
As you can see from this screenshot I have attached, they work for me :squareeyed:

Satan

Yours looks nice.

Well, I am using the default vB 3.5.0 Beta 3 templates / files. How can that be wrong?

Kirk Y 07-02-2005 06:43 PM

Yeah, I've corrected my Forum's URL in the ACP Options, but the problem is still there. It's trying to get the image from, "http://www.socomcity.net/forum_beta2/http://www.socomcity.net/forum/images/icons/icon10.gif".

Loki12 07-02-2005 06:47 PM

Quote:

Originally Posted by acidburn0520
Two of the posticons aren't showing up properly. When I tried to find the path from which it was attempting to pull the image from I got this:
Code:

http://www.socomcity.net/forum/http://www.socomcity.net/forum/images/icons/icon10.gif
It appears to be adding the full link, instead of just images/icons/icon10.gif.
Any help would be much appreciated. Also, the URL is directing itself to the wrong folder... it should be going to forum_beta2, not forum.

I found the solution for us acidburn:

Go: Post Icons > Post Icon Manager > Generic Icons > Edit

Then take away http://www.sodomcity.net/forum/ , leaving only images/icons/icon10.gif (for each icon) and things will work like a dream. :)

Kirk Y 07-02-2005 07:02 PM

Quote:

Originally Posted by Loki12
I found the solution for us acidburn:

Go: Post Icons > Post Icon Manager > Generic Icons > Edit

Then take away http://www.sodomcity.net/forum/ , leaving only images/icons/icon10.gif (for each icon) and things will work like a dream. :)

Ahh, I love you Loki, great job! Thank you, thank you! :classic:

Edit: Oh, I just remembered, Satan, have you finished with the edits so that the plugin will get only New Threads, not just the ones most recently replied to? And Satan, I was just noticing your Screenshot you posted a few posts up, what would I need to do to put an image next to the Latest Threads box?



Edit: I figured the image out.
1. Locate in your FORUMHOME template:
HTML Code:

<td class="alt2">&nbsp;</td>
2. Replace this with:
HTML Code:

<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[latest_threads]" border="0" /></td>

Jenta 07-03-2005 04:35 AM

Quote:

Originally Posted by hellsatan
I fixed this in a previous version :ermm:

Satan

Well I downloaded whatever version was up there about 10 hours ago. So I'm presuming that had the fix.

ForYou 07-03-2005 06:17 AM

Hello ,

Is there a way to let the latest theards like line Marquee on the top of forums ,

Regards

Chris M 07-03-2005 08:33 AM

Quote:

Originally Posted by Jenta
Well I downloaded whatever version was up there about 10 hours ago. So I'm presuming that had the fix.

It should have yes...

Quote:

Edit: Oh, I just remembered, Satan, have you finished with the edits so that the plugin will get only New Threads, not just the ones most recently replied to? And Satan, I was just noticing your Screenshot you posted a few posts up, what would I need to do to put an image next to the Latest Threads box?
Yes that is the code you use to add an image :)

I have not had time to do this yet as I have not had a chance to review the code for it - I am taking a look at this now however...

Quote:

Hello ,

Is there a way to let the latest theards like line Marquee on the top of forums ,

Regards
There is yes - You would need to alter the HTML of the "forumhome_latestthreadbit" template, to display a <marquee> tag or whatever the XHTML equivalent is, and use the variables contained within the template to create the information you want and need for the marquee :)

Satan

Jenta 07-03-2005 09:13 AM

I guess you missed my point. I installed the version that contains the fix but it's still showing private threads.

Loki12 07-03-2005 09:20 AM

Quote:

Originally Posted by Jenta
I guess you missed my point. I installed the version that contains the fix but it's still showing private threads.

Edit your xml file in plugins.

Find: $limitfids .= ','.$forum['forumid'];

Then merely insert the forumid's you want to be excluded between the ','

Chris M 07-03-2005 11:34 AM

Quote:

Originally Posted by Jenta
I guess you missed my point. I installed the version that contains the fix but it's still showing private threads.

I understand what you are saying, but I'm saying it shouldn't be as it doesn't on my test forum or on several others :ermm:

As Loki suggested, remove the part about permissions and just have a static $limitfids:

PHP Code:

$limitfids ',1,2,3,4,5,6,7,8,9'

:)

Satan

Chris M 07-03-2005 11:42 AM

Quote:

Originally Posted by hellsatan
The only solution I can give you would be to check your [high]icon[/high] paths are correct, and to check your templates to make sure you haven't got any incorrect image paths saved in your templates...

Satan

Quote:

Originally Posted by Loki12
I found the solution for us acidburn:

Go: Post Icons > Post Icon Manager > Generic Icons > Edit

Then take away http://www.sodomcity.net/forum/ , leaving only images/icons/icon10.gif (for each icon) and things will work like a dream.

I suspected it was to do with your icon paths :)

Satan

bing11 07-03-2005 06:26 PM

Quote:

Originally Posted by hellsatan
Ah I see - You want it to show the most recent created threads, not ones that have just been replied to ;)

I shall look at the code and have something probably by monday (going out tonight and working tomorrow) :)

Satan

please help this :nervous:

Chris M 07-03-2005 06:59 PM

I think this is correct:

In the plugin code, find:
PHP Code:

    ORDER BY lastpost 

replace with:
PHP Code:

    ORDER BY dateline 

In theory this should order it by the newest posted threads :)

Satan

Kirk Y 07-03-2005 07:57 PM

Quote:

Originally Posted by hellsatan
I think this is correct:

In the plugin code, find:
PHP Code:

    ORDER BY lastpost 

replace with:
PHP Code:

    ORDER BY dateline 

In theory this should order it by the newest posted threads :)

Satan

Yes, that seems to work. Thanks Satan! :)

Chris M 07-04-2005 10:05 PM

Glad to hear it :)

Satan


All times are GMT. The time now is 08:16 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.01590 seconds
  • Memory Usage 1,845KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_html_printable
  • (6)bbcode_php_printable
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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