Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Latest Threads on Your Desktop Details »»
Latest Threads on Your Desktop
Version: 1.00, by N!ck N!ck is offline
Developer Last Online: Oct 2008 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-10-2002 Last Update: Never Installs: 32
 
No support by the author.

This hack will show the 30 latest threads on your desktop, ordered descending by the latest post. Somebody please post a screenshot; my screenshot program can't get my desktop.

There is no file editing and no template editing. It's very easy to install, even for a novice.

Click here for a screenshot!

Current Version: 3.0 (update recommended if you have 1.0)
Version 3.0 is not what I would call a "fix", but it adds an option to prevent threads in private forums from being viewed unless the viewer is allowed to access private forums (guests ARE allowed by default). It also allows you to change the number of latest threads to be viewed.

Have fun, and post your comments if you use this, please!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 03-13-2002, 04:01 AM
MrLister's Avatar
MrLister MrLister is offline
 
Join Date: Oct 2001
Posts: 434
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh btw great hack
Reply With Quote
  #33  
Old 03-13-2002, 06:17 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by nicksaunders
nakkid,
i think i might have a solution looking at your code.
i try to help as much as i can, even if my php knowledge is limited
let us all know what's new with your hack.. btw, that solved your query problem?
Reply With Quote
  #34  
Old 03-13-2002, 11:40 AM
N!ck N!ck is offline
 
Join Date: Mar 2002
Location: Lake Havasu City, AZ
Posts: 886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

solved it...i used the getpermissions() thing to make sure each thread is viewable by the user - no private threads are shown except to admins and mods.

the only downside is that it may show a few less threads than set with private thread viewing for regular users off. you can change the settings, though, for the max number of latest threads to show and whether you want to restrict viewing of threads in private forums.

your post DID help me though !! i didn't even THINK of using the getpermissions() function. thanks
Reply With Quote
  #35  
Old 03-13-2002, 11:47 AM
cditty's Avatar
cditty cditty is offline
 
Join Date: Oct 2001
Location: Memphis TN
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is the attachment updated for this change? Also, any tips on adding online users to the page?

Chris
Reply With Quote
  #36  
Old 03-13-2002, 09:31 PM
N!ck N!ck is offline
 
Join Date: Mar 2002
Location: Lake Havasu City, AZ
Posts: 886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

chris,
the attachment is updated, yes...

now, as far as online users go, i hadn't considered this feature, but i will probably (unless i have difficulties ) add the option to the special edition. check on it this weekend...i plan to write the special edition THEN

school of course gets in the way, but spring break is next week
Reply With Quote
  #37  
Old 03-13-2002, 09:36 PM
cditty's Avatar
cditty cditty is offline
 
Join Date: Oct 2001
Location: Memphis TN
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks man.

Chris
Reply With Quote
  #38  
Old 03-13-2002, 10:42 PM
wooolF[RM]'s Avatar
wooolF[RM] wooolF[RM] is offline
 
Join Date: Jan 2002
Posts: 524
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

]just installed looks very nice...

An option that could be implemented in to your new special edition - when user have seen all new messages or have marked them as read, on.gif should change to off.gif. How to do it?
[cough] Taskbar Ticker have this feature [/cough]

and another thing... to take one line less from finish php page on your desktop use this
PHP Code:
<td><normalfont><b>&nbsp;&nbsp;$bbtitle&nbsp;&nbsp;&nbsp;Latest Topics</b></normalfont></td
instead of this
PHP Code:
<td><normalfont><b>$bbtitle<br>Latest Topics</b></normalfont></td
Gives a better look and as said takes one line away (more space to new threads )

Here's mine "LATEST" template (modified a lil bit as many users have long nicknames and thus makes many new threads on two lines instead of one)
PHP Code:
<HTML>
<
HEAD>
$headinclude
<META HTTP-EQUIV=Refresh CONTENT="1800;latest.php">
<
META HTTP-EQUIV=Pragma CONTENT=no-cache>
<
TITLE>$bbtitleLatest Topics</TITLE>
</
HEAD>
<
body>
<
table border=0 cellpadding=0 cellspacing=1>
<
tr>
  <
td valign="top"><img src="{imagesfolder}/on.gif" width="15" height="15"></td>
  <
td><normalfont><b>&nbsp;&nbsp;$bbtitle&nbsp;&nbsp;&nbsp;Latest Topics</b></normalfont></td>
</
tr></table>
<
table border="0" width="450" cellpadding="2" cellspacing="1" bordercolor="{tablebordercolor}" bordercolordark="{tablebordercolor}">
<
tr>
  <
td bgcolor="{tableheadbgcolor}" align="center" width="290"><smallfont color="{tableheadtextcolor}"><b>Thread</b></smallfont></td>
  <
td bgcolor="{tableheadbgcolor}" align="center" width="100"><smallfont color="{tableheadtextcolor}"><nobr><b>Last Poster</b></nobr></smallfont></td>
  <
td bgcolor="{tableheadbgcolor}" align="center" width="30"><smallfont color="{tableheadtextcolor}"><b>Replies</b></smallfont></td>
  <
td bgcolor="{tableheadbgcolor}" align="center" width="30"><smallfont color="{tableheadtextcolor}"><b>Views</b></smallfont></td>
</
tr>
$latest
</table>
</
BODY>
</
HTML


have a nice day/eve
Reply With Quote
  #39  
Old 03-13-2002, 10:44 PM
wooolF[RM]'s Avatar
wooolF[RM] wooolF[RM] is offline
 
Join Date: Jan 2002
Posts: 524
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

]weird... but all codes like this one { tableheadbgcolor } have changed to ones that vb.org uses... well... I think u've got the main idea if not - pm me
Reply With Quote
  #40  
Old 03-13-2002, 11:11 PM
N!ck N!ck is offline
 
Join Date: Mar 2002
Location: Lake Havasu City, AZ
Posts: 886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

those must be your settings then

again, the unread/read thing *may* appear in the special edition if i'm unable to do it myself, i can always look at the taskbar ticker code for inspiration.

anyhow....................................
glad y'all like it.
Reply With Quote
  #41  
Old 03-14-2002, 10:44 PM
N!ck N!ck is offline
 
Join Date: Mar 2002
Location: Lake Havasu City, AZ
Posts: 886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[tease]the special edition is coming soon [/tease]
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:39 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06510 seconds
  • Memory Usage 2,334KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete