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)
-   -   First post on every page of thread. (https://vborg.vbsupport.ru/showthread.php?t=93706)

Moya 11-12-2005 05:02 PM

Here is the template and the icon on the left. Just copy and paste the text into the firstpost template and upload firstpost.gif to images directory

Madmax4321 11-13-2005 07:10 PM

nice work on the hack ;)

how hard would it be to pull other info into the postbit from a custom table im asking because would like to make something similar to the hack system here as the system i made for 3.0.7 doesnt work in the same way with the new code.

Thanx.

vBintense 11-13-2005 07:55 PM

I would have to see the table to answer how to.
Quote:

Originally Posted by Madmax4321
how hard would it be to pull other info into the postbit from a custom table im asking because would like to make something similar to the hack system here as the system i made for 3.0.7 doesnt work in the same way with the new code.


Madmax4321 11-13-2005 09:31 PM

this is my table structure if its any help.

Code:


CREATE TABLE `hacks` (
  `hackid` int(10) NOT NULL auto_increment,
  `threadid` int(10) unsigned NOT NULL default '0',
  `firstpostid` int(10) unsigned NOT NULL default '0',
  `forumsid` int(10) NOT NULL default '0',
  `userid` int(10) NOT NULL default '0',
  `username` varchar(50) NOT NULL default '',
  `dateline` int(10) NOT NULL default '0',
  `catid` int(4) NOT NULL default '0',
  `version_vb` varchar(10) NOT NULL default '',
  `version_hack` varchar(10) NOT NULL default '',
  `title` varchar(100) NOT NULL default '',
  `description` mediumtext NOT NULL,
  `installation` varchar(4) NOT NULL default '',
  `queries` varchar(4) NOT NULL default '',
  `templates_news` varchar(4) NOT NULL default '',
  `templates_mod` varchar(4) NOT NULL default '',
  `files_add` varchar(4) NOT NULL default '',
  `files_mod` varchar(4) NOT NULL default '',
  `phrases` varchar(4) NOT NULL default '',
  `attachmentid` varchar(50) NOT NULL default '',
  `nb_install` int(10) NOT NULL default '0',
  `postuser` varchar(250) NOT NULL default '',
  `postuserid` int(10) NOT NULL default '0',
  `version` varchar(10) NOT NULL default '',
  `installer` varchar(4) NOT NULL default '',
  `installs` int(5) NOT NULL default '0',
  `updated` int(10) NOT NULL default '0',
  `addonid` int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`hackid`)
) TYPE=MyISAM;


revlisoft 11-16-2005 02:44 PM

Andreas.. how do I get the original so that it is by default show first post on all forums and then disable each one later on?

vBintense 11-16-2005 03:05 PM

Quote:

Originally Posted by revlisoft
Andreas.. how do I get the original so that it is by default show first post on all forums and then disable each one later on?

Admincp>
Maintenance>
Execute SQL Query>
Code:

UPDATE forum SET showfirstpost = 1
You may have to add your preffix if you use one.

nubian 11-25-2005 05:15 AM

will this work for 3.5.1?

vau7 11-25-2005 05:03 PM

yes, it does. I am running it on 3.5.1

Pvtiste 11-25-2005 05:24 PM

it's really good, I was looking for it :)
Thx for the sharing!

nubian 11-25-2005 05:52 PM

............................


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