Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
CT - Special Header and rules newthread Details »»
CT - Special Header and rules newthread
Version: 1.0.3, by Asterix_ita Asterix_ita is offline
Developer Last Online: Jul 2019 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 4.0.x Rating:
Released: 05-19-2010 Last Update: 02-22-2011 Installs: 23
Uses Plugins Template Edits
Translations  
No support by the author.

The hack Special Header and Rules offers us all an opportunity to enter the heads and rules of custom forum
through simple html file, images table, adsense other .......

create an html file storage, the default configuration is necessary to create, in the root, a folder named head (of course everyone can change folder name and path, then need to update the fields in admincp ? options ? special head ? path)

As you can see in the stamp file is not recognized without having to open them.



Var:

Path file HTML = return the path to the html file, starting from the root of the forum, do not contain
the initial and final slash, below are some examples to clarify what has been described.
es.
http://(www.)mysite/folder
http://(www.)mysite/forum/folder
value var HtmlPath= folder

http://(www.)mysite/folder1/folder2/folder
http://(www.) mysite/forum/folder1/folder2/folder
value var HtmlPath= folder1/folder2/folder

The filename must be composed forumid.html eg. 1.html

Rules suffix = The text entered here will compose the name of the HTML file, the suffix will allow us to highlight the html file header from those rules, the default is _nt (new thread)
The filename must be composed forumid_suffix.html where forumid=id forum ? suffix= text that we chose
default forumid+suffix.html es. 1_nt.html

Last clarification html files should not have tag type head - body ???. an example

Code:
<center><img border="0" src="http://www.collectiontricks.it/forum/head/2/collection.png"></center>

Install:

Upload the file
Import product_special_head.xml
Configure in vBulletin Options -> Special head

Change template newthread

find
Code:
<label for="subject" class="full">{vb:rawphrase title}:</label>
add before
Code:
{vb:raw ct_rules_thread}

Changelog
1.0.2 add special rules options
1.0.3 add default special rules

Translations

Italian language - Collectiontricks


other screen this post

Download Now

File Type: zip product_special_head_1.0.2.zip (2.8 KB, 55 views)
File Type: zip product_special_head_1.0.3.zip (3.8 KB, 71 views)

Screenshots

File Type: png 20-05-2010 18-57-08.png (68.7 KB, 0 views)
File Type: png 20-05-2010 19-01-16.png (116.0 KB, 0 views)
File Type: png 20-05-2010 19-04-48.png (5.3 KB, 0 views)
File Type: png 20-05-2010 19-05-14.png (21.7 KB, 0 views)
File Type: png 28-05-2010 22-41-19.png (23.5 KB, 0 views)
File Type: png 28-05-2010 22-58-23.png (30.3 KB, 0 views)
File Type: png 23-02-2011 20-14-52.png (51.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-20-2010, 04:23 PM
Alecsmith Alecsmith is offline
 
Join Date: Sep 2009
Location: Still On Earth
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tagged for future thanks
Reply With Quote
  #3  
Old 05-21-2010, 10:53 PM
abdobasha2004's Avatar
abdobasha2004 abdobasha2004 is offline
 
Join Date: Aug 2008
Posts: 541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

new idea
thanks
Reply With Quote
  #4  
Old 05-28-2010, 08:22 PM
Asterix_ita's Avatar
Asterix_ita Asterix_ita is offline
 
Join Date: Aug 2009
Location: Italy
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add special rules newthread options
Attached Images
File Type: png 28-05-2010 22-58-23.png (30.3 KB, 0 views)
File Type: png 28-05-2010 22-41-19.png (23.5 KB, 0 views)
File Type: jpg 28-05-2010 22-40-39.jpg (49.6 KB, 0 views)
Reply With Quote
  #5  
Old 08-18-2010, 02:45 PM
fxwoody's Avatar
fxwoody fxwoody is offline
 
Join Date: Jun 2010
Location: On Earth
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks interesting! I'll give it a try and comment later on

Tks for the codes
Reply With Quote
  #6  
Old 08-21-2010, 12:37 AM
ppatil007 ppatil007 is offline
 
Join Date: Nov 2009
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what if i just want to use the image header
can it be just done just by simply importing a product ?
Reply With Quote
  #7  
Old 02-21-2011, 11:08 AM
fxwoody's Avatar
fxwoody fxwoody is offline
 
Join Date: Jun 2010
Location: On Earth
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, i tried my best but i can't understand the rules of HTML that i have to enter here
How do i create the image i want to show in HTML?
Need a bit more instructions, i'm not a coder lolll

Tks
Reply With Quote
  #8  
Old 02-21-2011, 03:52 PM
Asterix_ita's Avatar
Asterix_ita Asterix_ita is offline
 
Join Date: Aug 2009
Location: Italy
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi
I'm sorry but need to know a bit of html for this addon.
es. if you have a forum id 2 will need to create a file for rules 2_nt.html the code html are like this

es. 2_nt.html file content rules

HTML Code:
<div style=&quot;border:thin dotted red;padding: 2px 10px 2px 10px;&quot;>You are about to open a new discussion <b>Forum test</b>. Ricorda
<ol>
<li>make sure your application is really tied to this forum</li>
<li>be sure to read and follow the rules</li>
</ol></div>
Reply With Quote
  #9  
Old 02-23-2011, 12:07 PM
fxwoody's Avatar
fxwoody fxwoody is offline
 
Join Date: Jun 2010
Location: On Earth
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok so if i get you right, i have to create a rule for every forums?!?
Hope not loll got way too many
Tho from this html code, we can add "adsense" images or what ever else we want! that i Capisco tutto bene
Resume : create code in notepad and save as "Forum ID #"_nt.html
Yes?
Gracie
Reply With Quote
  #10  
Old 02-23-2011, 03:48 PM
Asterix_ita's Avatar
Asterix_ita Asterix_ita is offline
 
Join Date: Aug 2009
Location: Italy
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes

In the html file you can put anything you want to absurd even a movie youtube

I use notepad++ for my html

v.1.0.3 add option for default rules
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:50 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05238 seconds
  • Memory Usage 2,338KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (12)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete