vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Last post on forum home, working version (https://vborg.vbsupport.ru/showthread.php?t=28561)

Harvey 03-27-2002 09:50 AM

ups - forgotten "select "

Thank you

Wayne2k1.com 03-27-2002 10:08 AM

I guessed that...but I see you just noticed by yourself :)

It works...but it still gives an error in "Update Counters" --> "Forum Info"

Code:

SELECT max(canview) as cveiw ,count(canview) as cnt from forumpermission where usergroupid=2 and forumid=
mysql error: You have an error in your SQL syntax near '' at line 1

I think it's because from misc.php it doesn't have the

Code:

.$getchildforum[forumid]
variable.

Harvey 03-27-2002 02:46 PM

ok, I dont understand the reason for it (I don't think it's from misc.php). I have to create a test system, but this week I have no time.

Scott MacVicar 03-27-2002 03:37 PM

Harvey you decide if it should set the thread title if they can view it, what if they can't view the forum, why would they be posting in it :D

This is done in vBulletin 3 anyway, why can't you all just hide private forums within the general settings part of the admin panel.

Harvey 03-27-2002 05:56 PM

PPN, the actual problem is, if you have a privat subforum inside a nonprivate mainforum, everybody can see the the title in the mainforum, if the latest thread is in the private forum. No matter if you hide the private forum or not. You can see it, because it's the same with last time and last poster.

Sorry that my solution does not work yet, I tried it in theorie because I have currently not the time to test it. Perhaps with the hope, that I find a Betatester ;) My boss wants that I install your hack, and we can live with the decision if a new post belongs to a thread a registered user may see or not.

I hope you can understand me, I can't translate your first sentence because of my terrible english. Perhaps I can learn by posting in your forum.

PS: Great hack.

JTMON 04-06-2002 10:04 PM

Parse error: parse error in /usr/local/plesk/apache/vhosts/whatthefrag.com/httpdocs/forums/admin/functions.php on line 1892

Fatal error: Call to undefined function: makelogincode() in /usr/local/plesk/apache/vhosts/whatthefrag.com/httpdocs/forums/global.php on line 337

I'm running 2.2.5. This happens when I upload functions with the changes

infamous one 04-06-2002 11:44 PM

ALTER TABLE `forum` ADD `lasttitle` VARCHAR(100) NOT NULL AFTER `lastposter`

How would I go about removing this from my table?

Harvey 04-07-2002 09:44 AM

alter table forum drop column lasttitle

kms 04-11-2002 03:35 AM

hi anybody tested this on v2.25 ?

TIA :)

Wayne2k1.com 04-11-2002 06:48 AM

Quote:

Originally posted by kms
hi anybody tested this on v2.25 ?

TIA :)

Yep.

It works perfectly. (even the Omero sub-hack...look at it if you need to hide thread titles from private forums).

:laugh:


All times are GMT. The time now is 11:59 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.01628 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)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