vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=139)
-   -   [release] Close/Stick on Reply (https://vborg.vbsupport.ru/showthread.php?t=85487)

filburt1 11-29-2002 10:00 PM

[release] Close/Stick on Reply
 
Author: filburt1
Description: Adds checkboxes on the reply form for closing and sticking the thread, provided the user is an administrator, supermoderator, or a moderator for that forum. Additional usergroups can manually be granted access as well.
Demo: None yet
Screenshot: Coming up.

Requested here at vBT and the most complex phpinclude mod by me yet :)

filburt1 11-30-2002 04:26 PM

What a mod sees:

filburt1 11-30-2002 04:27 PM

What a user sees if (1) they're not an admin/smod or (2) aren't the mod for that specific forum:

wyzzor 11-30-2002 04:29 PM

ThankS!!!!!!!

lordofgun 11-30-2002 04:50 PM

i don't have time to replay to ALL your mods, but they have been incredible lately! KEEP IT UP!

Sephiroth32 11-30-2002 05:04 PM

omg thank you!!!!!!!!!!!!

omega buster 11-30-2002 06:03 PM

awesome mod, nuff said. filburt u got some many idea, keep it up man...

filburt1 11-30-2002 06:04 PM

I didn't get this idea, it was requested :)

imported_TMG1 11-30-2002 06:15 PM

good stuff

Red Shadow 11-30-2002 07:27 PM

Nice hack filburt, keep it up :D

Tony G 11-30-2002 10:06 PM

Very useful, nice mod. :)

Rufus69 11-30-2002 10:46 PM

Quote:

Originally posted by filburt1
I didn't get this idea, it was requested :)
by me ;)

yeah I love it just what I was looking for :) now I got to get it put in my quick reply, I'll post my showthread_replybox later...

EDIT: eh never mind its easy to add it there...

imported_ULTIMATESSJ 11-30-2002 10:54 PM

lol great feature, something i really required for my forums at the moment, we just switched to a vB from a iBF and the mods are going crazy trying to close and sticky stuff

EDIT: one thing that "bugged" me about this was that the sticky button for replying was always set so it was already checked, how can i change it so it isn't

filburt1 11-30-2002 11:09 PM

It should be checked only if the thread is already sticky. That is, not touching the checkboxes shouldn't affect the thread.

So is it not working in that respect?

Rufus69 11-30-2002 11:15 PM

umm I installed it but nothing changes...no new check boxes...

filburt1 11-30-2002 11:20 PM

I just registered there, please bump me up to smod/admin so I can see what it should look like. :)

Rufus69 12-01-2002 12:09 AM

k I will when I can get on the internet for more than 5 seconds :p


OK DONE

imported_TMG1 12-01-2002 12:43 AM

it would be nice if it was put in when you make a new thread.

Tony G 12-01-2002 12:51 AM

I usually sticky when I start the thread more then when I reply. ;)

filburt1 12-01-2002 01:19 AM

Hey, take it or leave it :p

It will be hard anyway because the query needs a threadid, and that threadid is made when you post a new thread.

imported_TMG1 12-01-2002 02:03 AM

Quote:

Originally posted by Tony
I usually sticky when I start the thread more then when I reply. ;)
same cmon frog man your are some crazy template mod man you can do it

filburt1 12-01-2002 02:11 AM

No, because as I said you have to know the threadid to stick a thread and the threadid isn't created when you want to stick it.

Rufus69 12-01-2002 12:24 PM

:( I still can't see any sticky...

filburt1 12-01-2002 03:28 PM

I slept for 12 hours so I haven't had a chance to look but I will soon.

Rufus69 12-01-2002 03:39 PM

ok then :D

Rufus69 12-01-2002 03:43 PM

hmm I got it working on the Reply page but I can't seem to get it to work on my quick reply...

Rufus69 12-01-2002 06:48 PM

any ideas?

filburt1 12-01-2002 06:49 PM

Try changing the check to see if the page is newreply.php or showthread.php

Rufus69 12-01-2002 06:57 PM

ah ok :)

imported_TMG1 12-05-2002 02:14 AM

it doesnt work and why is the sticky box always checked

x-wave 12-25-2002 11:14 PM

thx much, just installed :)

mdx381 12-27-2002 08:29 PM

Very nice, I'm adding it now.


All times are GMT. The time now is 04:00 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.01191 seconds
  • Memory Usage 1,761KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (32)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete