vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   Detailed Latest Discussions in What's Going On (https://vborg.vbsupport.ru/showthread.php?t=65170)

Albus 05-15-2004 10:00 PM

Detailed Latest Discussions in What's Going On
 
Below is my first attempt at creating a hack. It works perfectly on my board but as no others have tested it, I am putting it here for now. I know there are other latest x posts type hacks around, however, in my day long search of this forum, I have yet to find one that suited my needs. Therefore, I wrote my own. I offer it here. It only uses one query to return information on the last x posts including the fields (forum id, forum title, thread id, thread title, initial poster id, initial poster name, last poster id, last poster name, reply count and views). It takes into account permissions using the CANVIEW and CANVIEWOTHERS constants and properly flags the show variable if no rows are deemed showable. Have fun and please do not hesitate to comment on this. This code is entirely of my own writing although it was visually inspired by the hack in place on http://cosforums.com. Thanks.

:)

007 05-16-2004 03:54 AM

Interesting. Can you post a screenshot of it in action?

Albus 05-16-2004 04:06 AM

I can, but here's the test forum it's on. Live. http://wizardingrealm.com/index.php The actual domain has a blank index.html in it. Pretty much. Would you still like a screenshot?

M1th 05-16-2004 12:56 PM

Quote:

Originally Posted by Serenarules
Below is my first attempt at creating a hack. It works perfectly on my board but as no others have tested it, I am putting it here for now. I know there are other latest x posts type hacks around, however, in my day long search of this forum, I have yet to find one that suited my needs. Therefore, I wrote my own. I offer it here. It only uses one query to return information on the last x posts including the fields (forum id, forum title, thread id, thread title, initial poster id, initial poster name, last poster id, last poster name, reply count and views). It takes into account permissions using the CANVIEW and CANVIEWOTHERS constants and properly flags the show variable if no rows are deemed showable. Have fun and please do not hesitate to comment on this. This code is entirely of my own writing although it was visually inspired by the hack in place on http://cosforums.com. Thanks.

:)

Funny, it looks to me as if your whole site was 'visually' inspired by CoSForums.com.

Albus 05-16-2004 12:57 PM

It was. Does the flattery offend? Mind you , it isn't directly usable, nor has any members, and I'm not advertising it yet. This is my first vB board and I need a good test for skinning to get to know it. I have no clue whether I'll make it live as is, or do something else.

M1th 05-16-2004 01:13 PM

You have no permission to rip the CoSForums style, which by your own admission you said you did. I ask you to please take it down otherwise I'll have to take further action.

Albus 05-16-2004 01:18 PM

Considering it was only a skinning test, I have no problems with that. However, I fail to see what I did wrong. There's only so much you can do, and it is all my own work. Nevertheless, it will not go live with that skin. Please see my email.

M1th 05-16-2004 01:44 PM

Well, that's settled now, I think. Thanks, Serenarules! :)

Albus 05-16-2004 01:50 PM

Yes, it has been. :) And thanks Wiz. I'll be resetting my board shortly to begin working on the set of skins I actually have in mind for it. At that point, the demo of this hack will go offline until I finish redoing the forumhome templates again. In the meantime, I'd like to know who has used the hack and what they think of it, before this gets too far off topic?

Boofo 05-17-2004 10:19 AM

Does this hack take into account the permissions a user has as to what threads are shown?


All times are GMT. The time now is 10:43 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.01264 seconds
  • Memory Usage 1,733KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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