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)
-   -   Pre-defined content for newthread/reply. (UPDATED) (https://vborg.vbsupport.ru/showthread.php?t=104318)

waza 01-02-2006 10:00 PM

Pre-defined content for newthread/reply. (UPDATED)
 
Hey,

Somebody needed this so I made this quickly, however I think it's something more people can use and as it's been a long time since my last hack release.
I release this.

What it does.
This hack is good if you want all the threads in a certain forum look a bit the same.
In admincp you can define a text & subject that you want to show standard in certain forums, for certain usergroups when they start a new thread.

Features.
-unlimited pre-defined txts
-Define text & subject for certain forums & certain usergroups.
-Show on newreply and/or newthread
-edit & manage


Planned updates.
No current planned updates.

Version walktrough.
3 jan 2006
Version 1.0.0 released

3 jan 2006
Version 1.0.1 released - bug fix release, to upgrade run these 2 queries:
Code:

ALTER TABLE ".TABLE_PREFIX."predeftxts ADD `ugids` VARCHAR( 200 ) NOT NULL
ALTER TABLE ".TABLE_PREFIX."predeftxts ADD `subject` VARCHAR( 200 ) NOT NULL

8 jan 2006
Version 1.5 released - New features: parse bbcode in admincp & choose between newthread and/or newreply + some remaining dutch phrases translated.
To upgrade overwrite product & all files

Fields description.
forum ids (required field)
Define the forum ids where to show this text on new thread.
Seperate with comma ',' e.g. 4,3,2,1

Usergroup ids (required field)
Define the usergroups ids who see the text on new thread.
seperate with comma ',' e.g. 4,3,2,1

Show in newthread
Whether to show it while making a new thread yes or no

Show in newreply
Whether to show it while making a new reply yes or no

subject (not-required field)
Give a standard subject the user will see on new thread (when above fields are true)

text (required field)
Define a standard text the user will see on new thread.

Don't forget to click install

waza 01-03-2006 09:01 AM

first post reserved

Allan 01-03-2006 09:18 AM

Nice idea ;)

Snake 01-03-2006 10:46 AM

Great, I have been looking for this!

nexialys 01-03-2006 10:55 AM

just great... can be used for forums where we write recipes...

rb290 01-03-2006 11:35 AM

hmm kool!

Neutral Singh 01-03-2006 11:44 AM

Cool !! Wow !!

Floris 01-03-2006 12:44 PM

Great resource, very kind of you to share with us.

Ideas this can be used for,

default markup for announcements, articles, news,, blog entries, and etc.. so very handy.

Nutz 01-03-2006 01:06 PM

Very good idea waza, good work :)

Thanks,
Mat

trancetopia 01-03-2006 01:13 PM

Like a lot of other people, this will be very handy. Thanks for sharing.

/me clicks install


All times are GMT. The time now is 11:54 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.01255 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_code_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