vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Home Enhancements - [AJAX] Top X - ALP Pro (https://vborg.vbsupport.ru/showthread.php?t=150766)

dbirosel 07-31-2007 06:14 AM

Quote:

Originally Posted by Quantnet.org (Post 1305958)
Does anyone experience the problem of the ajax auto refresh feature when it hangs, it will display color garbage of the whole frame ?

Look at the screenshot, it just stay like that in place of a normal latest thread frame.

I have to refresh the browser to get it back to normal. It happens in FF

Your not the only one. That happens on my forums too.

Quantnet 07-31-2007 01:34 PM

The author has marked this mod as 3.6.8 compatible but no fixes yet.

pisliq 07-31-2007 02:26 PM

eyw. hocam

This is a great Hack !!

Quantnet 08-02-2007 05:24 PM

When click on the thread, it goes to the bottom of the last page, but not the last post so i have to scroll up...any fixes on this yet ?

Stratto 08-02-2007 08:51 PM

Just installed, no problems. Thank you!!

Quantnet 08-07-2007 05:34 PM

any updates/fix on the new replies shown up as old ?

xenon58 08-08-2007 03:45 PM

thank you very much for a great hack, however, would like to point a small issue that made me take it off my board. i have Thank You hack+sid's hide hack running, and unfortunately with this hack everything that is supposed to be hidden is shown, so it kinda defeats the purpose of those two hacks that are a must for me.

thank you again for your work, if there will be updates on this with a fix, i would greatly install it.

Quantnet 08-10-2007 03:21 PM

Atakan has abandoned this mod. I PMed him about this bug but he never answered.

Michelle, did you find the bug ?

Lea Verou 08-10-2007 03:25 PM

No, I didn't look for it as I'm currently working on another hack.
I'll definately look into it, as I need it a lot (I don't need it now, but I will badly need it in some months), but I don't know when, it might even be in a month.

TrIn@dOr 08-10-2007 05:45 PM

Quote:

Originally Posted by dbirosel (Post 1293157)
Problem:

my tcat consists of font color: #FFFFFF. The latest posts, popular threads & renew font color is black. How do i fix this?

Can u tell us or me how did u fix that on your site?

Thanks.

Quantnet 08-12-2007 12:53 AM

I have to take this off as my members complain about being confused of new posts showing as old. i wait till this got fixed

nnjj.net 08-12-2007 08:17 AM

installed :D

Quantnet 08-12-2007 10:29 PM

It seems the $gthread_newpost variables does not work on the templates because it always refer to as 'old'

I also tried to change this in my alp_latest_bit template

<if condition="($vboptions['alp_npi']) AND ($getstats_thread[lastpost] > $vbulletin->userinfo['lastvisit'])">

but it still does not work. maybe someone can have a better idea.

TrIn@dOr 08-13-2007 03:21 PM

Quote:

Originally Posted by TrIn@dOr (Post 1314592)
Can u tell us or me how did u fix that on your site?

Thanks.

Figured it out by myself.

If someone need to change the font color of the title of the table u will need to modifiy 2 templates of alp.

"alp_latest_post" and "alp_latest_post_yeni"

In both templates u have this:
HTML Code:

        <td class="tcat" colspan="3">
<form action="index.php?do=alppro" method="post" id="alp_form">
<span style="float: right;">&nbsp;
<input class="button" tabindex="1" value="$vbphrase[alp_renew]" id="vB_ReNew" type="button" onclick="alp_change2();" style="overflow: visible; border: 0px inset; background-color: transparent; background-color: transparent; font-family: tahoma, arial, verdana; font-size: 11px; font-weight: bold; text-decoration: none; cursor: pointer; " />
</span>
<input class="button" tabindex="1" value="[ $vbphrase[alp_latestposts] ]" id="vB_ReNew" type="button" onclick="alp_change();" style="overflow: visible; border: 0px inset; background-color: transparent; background-color: transparent; font-family: tahoma, arial, verdana; font-size: 11px; font-weight: bold; text-decoration: none; cursor: pointer; " />
<if condition="$vboptions[alp_spt]== 1">
<input class="button" tabindex="1" value="[ $vbphrase[alp_popular] ]" id="vB_ReNew" type="button" onclick="alp_change2();" style="overflow: visible; border: 0px inset; background-color: transparent; background-color: transparent; font-family: tahoma, arial, verdana; font-size: 11px; font-weight: bold; text-decoration: none; cursor: pointer; " />

And you need it like this:
HTML Code:

        <td class="tcat" colspan="3">
<form action="index.php?do=alppro" method="post" id="alp_form">
<span style="float: right;">&nbsp;
<input class="button" tabindex="1" value="$vbphrase[alp_renew]" id="vB_ReNew" type="button" onclick="alp_change2();" style="overflow: visible; border: 0px inset; background-color: transparent; background-color: transparent; font-family: tahoma, arial, verdana; font-size: 11px; font-weight: bold; text-decoration: none; cursor: pointer; color: white;" />
</span>
<input class="button" tabindex="1" value="[ $vbphrase[alp_latestposts] ]" id="vB_ReNew" type="button" onclick="alp_change();" style="overflow: visible; border: 0px inset; background-color: transparent; background-color: transparent; font-family: tahoma, arial, verdana; font-size: 11px; font-weight: bold; text-decoration: none; cursor: pointer; color: white;" />
<if condition="$vboptions[alp_spt]== 1">
<input class="button" tabindex="1" value="[ $vbphrase[alp_popular] ]" id="vB_ReNew" type="button" onclick="alp_change2();" style="overflow: visible; border: 0px inset; background-color: transparent; background-color: transparent; font-family: tahoma, arial, verdana; font-size: 11px; font-weight: bold; text-decoration: none; cursor: pointer; color: white;" />

In the 2 buttons u choose your text color and DONE :D

Loxor 08-13-2007 09:06 PM

very nicely done installed thank you

sweet managed to get the category text changed too many thanks

Quantnet 08-19-2007 08:12 PM

any update on the old post icon fix ?

avaio 08-20-2007 01:37 AM

How to enable for guests too see it too?

avaio 08-20-2007 10:39 AM

nobody help me?

nigelbb 08-21-2007 04:18 AM

A very nice modification. Thank you.

Just a suggestion but larger fields for Forum Name & Thread Title would be nice. I am only displaying a minimal subset of the fields & have plenty of room for the full thread title & forum name.

Cheers

Nigel

Techno05 08-21-2007 05:36 AM

I have a Black Title bar and my members can't see the text to click it. Where can I edit it.

stan111 08-29-2007 01:44 AM

it would be great if you have an icon where member dont wanna see it, they can hide the whole thing
thanks

Quantnet 08-29-2007 04:46 AM

this has been abandoned by the author.

kidmiel 08-30-2007 06:57 AM

many thanks, this hack is awaresome ! I really like it.

CoolSwede 08-30-2007 07:08 AM

nice one! thank you

kidmiel 08-30-2007 07:17 AM

Quote:

Originally Posted by avaio (Post 1321329)
How to enable for guests too see it too?

just simly go to add ID of unregisted user vbulletin oftion.

PoetJA-1975 09-02-2007 08:34 AM

[high]* PoetJA-1975 clicks install:
[/high]
http://jpicforum.info/index-1.php
Thanx very much!

Jacquii.

Quantnet 09-02-2007 12:05 PM

Quote:

Originally Posted by PoetJA-1975 (Post 1330604)
[high]* PoetJA-1975 clicks install:
[/high]
http://jpicforum.info/index-1.php
Thanx very much!

Jacquii.

How did you edit to include that Popular Thread link ? Did you get the new icon problem fixed ?

PoetJA-1975 09-02-2007 11:12 PM

Quote:

Originally Posted by Quantnet.org (Post 1330706)
How did you edit to include that Popular Thread link ? Did you get the new icon problem fixed ?

Hmmmm - I didn't realize there were any problems.... I just did a regular install and edited the templates to better match my Forum's skin... I did edit the style code slightly to make it so when you roll over the ▼ it shows the help cursor...

As far as latest posts button to show - find the option in the AdminCP vBulletin Options ---> vBulletin Options ---> [AJAX] Alp Pro - Top X ---> Show Popular Thread --- Make sure Yes is selected :)

HTH

Jacquii.

mrahul 09-03-2007 05:30 AM

does this work for 3.6.4 ?

FIM 09-22-2007 07:47 AM

work in 3.6.7 for me, thanks installed :up:

Quantnet 09-22-2007 11:24 AM

Quote:

Originally Posted by PoetJA-1975 (Post 1331046)
Hmmmm - I didn't realize there were any problems....

the problem is with new post icon displayed as old so it's difficult to see any new post.

It's a shame that nobody can fix this....I have to remove it

Quantnet 10-03-2007 03:54 AM

Still no luck with the fix ?

mcyates 10-24-2007 09:09 AM

Where are the templates for this as I would like to remove the "Updating" bit that appear at the bottom.

hiphopcem 10-24-2007 11:15 AM

teşekkürler atakan hocam eline sağlık

yucel9603 11-02-2007 04:16 PM

teşekkür ederim

Nikke 11-08-2007 08:15 AM

Is there anyway I can install multiple instances of this? One for showing the latest news and one for the latest posts?

How would I do that?

Nikke 11-08-2007 08:20 AM

Also, is there anyway to not have it put the one with the latest comment on top? I would just want it to show the threads in the order they are written!

daydie 11-13-2007 11:43 PM

Heyyyyyy, will this smallen? to fix on a fixed template!

Audentio 11-14-2007 10:05 AM

I don't like the ajax refresh and stuff. I was looking for a mod like cybs top x except just for last x posts and stuff. But good work on the mod, very impressive.

Lea Verou 11-14-2007 01:04 PM

As I promised, here's how to fix the new/old post icon issue:

Open the plugin Alp Ajax Start
Find:
PHP Code:

$gthreads $db->query_read("
    SELECT
        thread.threadid, thread.title, thread.lastpost, thread.forumid, thread.replycount, thread.lastposter, thread.dateline, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views, thread.visible, user.username, user.userid, user.usergroupid, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, forum.title as forum_title
        FROM " 
TABLE_PREFIX "thread AS thread
        LEFT JOIN  " 
TABLE_PREFIX "user AS user ON (user.username = thread.lastposter)
        LEFT JOIN " 
TABLE_PREFIX "forum as forum on (thread.forumid = forum.forumid)
        WHERE NOT ISNULL(thread.threadid)
        
$excludedforums AND thread.visible = 1 ORDER BY lastpost DESC LIMIT 0, $alpmax"); 

replace with:
PHP Code:

$gthreads $db->query_read("
    SELECT
        thread.threadid,
        thread.title,
        thread.lastpost,
        thread.forumid,
        thread.replycount,
        thread.lastposter,
        thread.dateline,
        IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
        thread.visible,
        user.username,
        user.userid,
        user.usergroupid,
        IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
        forum.title as forum_title
        " 
. (($vbulletin->options['threadmarking'] AND $vbulletin->userinfo['userid']) ? ", threadread.readtime AS readtime" "") . "
        FROM " 
TABLE_PREFIX "thread AS thread
        LEFT JOIN  " 
TABLE_PREFIX "user AS user ON (user.username = thread.lastposter)
        LEFT JOIN " 
TABLE_PREFIX "forum as forum ON (thread.forumid = forum.forumid)
        " 
. (($vbulletin->options['threadmarking'] AND $vbulletin->userinfo['userid']) ? " LEFT JOIN " TABLE_PREFIX "threadread AS threadread ON (threadread.threadid = thread.threadid AND threadread.userid = " $vbulletin->userinfo['userid'] . ")" "") . "
        WHERE NOT ISNULL(thread.threadid)
        
$excludedforums AND thread.visible = 1 ORDER BY lastpost DESC LIMIT 0, $alpmax"); 

Then find:
PHP Code:

    if ($getstats_thread[lastpost] > $vbulletin->userinfo['lastvisit'])
    {
        
$gthread_newpost 'new';
    }
    else
    {
        
$gthread_newpost 'old';
    } 

and replace with:
PHP Code:

    if ($gthread['lastpost'] <= $gthread['readtime'])
    {
        
$gthread_newpost 'old';
    }
    else
    {
        
$gthread_newpost 'new';
    } 

Do the same with the plugin Alp Load.

Notice: The code to find is from the previous version. I didn't upgrade to the latter as I didn't need the new features, so perhaps the code to find is a little different.

Btw I noticed another bug with this: If in a forum a user can only view own threads and not others' threads, the permission doesn't get applied to the new posts: He can view others' threads from that forum as well.


All times are GMT. The time now is 03:33 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.01477 seconds
  • Memory Usage 1,847KB
  • 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
  • (2)bbcode_html_printable
  • (4)bbcode_php_printable
  • (7)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