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)
-   -   Newbies can't add new threads, only reply to existing ones... (https://vborg.vbsupport.ru/showthread.php?t=24629)

James Cridland 11-04-2001 08:39 PM

Quote:

Originally posted by aldamon
Please update for 2.2.0 when possible. It might not even need to be updated......Thanks!
It doesn't need updating, by the looks of things, though I will certainly work to add the "if registered for less than 7 days" thing: that's a good idea.

A control panel to set these things would be nice, but I'm not really that clever.

(Later:)

Now updated (see the top message).
Note that the timescale and the number of posts both have to be met, so a user who posts 15 replies in one day still can't post a new topic. Presumably this is what you wanted... and it sounds a great idea.

over 11-09-2001 08:44 PM

thnx nethng that saves manual changing peeps privlidges level is a god send :)

aldamon 11-20-2001 12:55 PM

I just found a BIG problem with this hack. Users who are not logged in get the forumnewbie error instead of the log in prompt.

Is there any way to exclude unregistered users from the forumnewbie error so they get the regular log in screen when trying to post?

aldamon 11-20-2001 01:26 PM

Fixed!

Just move the hacked code down a few lines. Put the code after this in newthread.php:

-------
$permissions=getpermissions($forumid);
if (!$permissions[canview] or !$permissions[canpostnew]) {
show_nopermission();
}
-------

This will let the correct error message to display for uncookied users. Damn, if someone hadn't emailed me complaining that they could not post unless they had 1 post already, when they really weren't logged in, I never would have caught this!

James Cridland 11-20-2001 05:40 PM

Fantastic; thanks for that. I've altered the first message accordingly.

Bald Bouncer 12-08-2001 02:33 PM

this works great nice work, but I was wondering if theres a way to have it enabled only in certain forums

Bald Bouncer 12-08-2001 02:56 PM

no problem Ive found the answer

James Cridland 12-08-2001 03:38 PM

You'll have noticed that it is possible to switch this off for particular forums, although it's a bit clunky. It would be good to add this to the control panel in some way, but I don't understand enough about that to do it.

James Cridland 12-08-2001 06:36 PM

With the addition of some code on the https://vborg.vbsupport.ru/showthread.php?s=&threadid=14075]moderate a user[/url] hack, I've now removed this hack from my board; sticking users on auto moderation works better for some problems we're having with a user who won't go away.

I'll still keep maintaining this one, mind, but thought it's only fair to mention it!

esoin 03-06-2002 03:09 AM

Does this hack still work with the newest version of VB? i


All times are GMT. The time now is 12:13 PM.

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.01136 seconds
  • Memory Usage 1,730KB
  • 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