vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Display Enhancements - CT - Special Header and rules newthread (https://vborg.vbsupport.ru/showthread.php?t=242978)

Asterix_ita 05-19-2010 10:00 PM

CT - Special Header and rules newthread
 
1 Attachment(s)
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.

https://vborg.vbsupport.ru/external/2010/05/26.png

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

Alecsmith 05-20-2010 04:23 PM

Tagged for future thanks :)

abdobasha2004 05-21-2010 10:53 PM

new idea :)
thanks

Asterix_ita 05-28-2010 08:22 PM

1 Attachment(s)
Add special rules newthread options

fxwoody 08-18-2010 02:45 PM

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

Tks for the codes

ppatil007 08-21-2010 12:37 AM

what if i just want to use the image header
can it be just done just by simply importing a product ?

fxwoody 02-21-2011 11:08 AM

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

Asterix_ita 02-21-2011 03:52 PM

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>


fxwoody 02-23-2011 12:07 PM

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 ;)

Asterix_ita 02-23-2011 03:48 PM

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


All times are GMT. The time now is 07:27 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.01783 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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