vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Thread Stats w/ Title In ShowThread (https://vborg.vbsupport.ru/showthread.php?t=99504)

ReZ 12-27-2005 03:06 PM

[Installed]

Thanks!

Warrior 12-28-2005 05:19 AM

Just curious as how to add the thread starter's username to this... is it just a variable? I can't seem to get it right...

hotwheels 12-30-2005 08:47 PM

Now this is a great hack.......i really like this one. Clicks *install*

hotwheels 10-01-2006 09:03 PM

Loaded into 3.6 and works like a champ.........thanks again.

PoetJA-1975 10-03-2006 06:53 AM

very nice addition - Thanx for sharing it with us :)

Jacquii.

yoyoyoyo 12-10-2006 12:43 AM

is there any way to correct the english so it will say "this thread has 1 reply" or "this thread has 2 replies" etc.?

siggen 01-24-2008 08:05 PM

I'm really a newbie, and this was the first time I've ever tried to mod anything, and as expected, I couldn't get it to work.

I opened the thread.php in wordpad, searced up the "$poll", and found it right under the "show poll" embedded in xxx'es

Then wrote it like this...

Quote:


################################################## ##############################
############################### SHOW POLL ######################################
################################################## ##############################
<h2>$thread[title]</h2>
<div id="h2stats">denne traden har $thread[replycount] svar og har blitt vist $thread[views] ganger</div>
h2
{
font-size: 200%;
text-align: center;
margin: 0;
padding: 0;
}
#h2stats
{
font-size: 125%;
text-align: center;
}
$poll = '';

I translated the text to Norwegian, as my forum is going to be in Norwegian.

I then copied the whole modified file into the showthread.php file on my forum server, saved it, and tried to open a post on my forum...

I'm using the 3-6-8_Patch_Level_2 version

As expected, I got an error message...

Quote:

Parse error: syntax error, unexpected '<' in /home/xxxx*/public_html/forum/showthread.php on line 589
*= I removed this name, naturally...

I then put back the original file, without the mods, and the threads showed as before...

What did I do wrong?

Did I put the mod in at the wrong place?

Can anyone please help me???

TCE Killa 02-23-2008 12:11 AM

Quote:

Originally Posted by siggen (Post 1428190)
I'm really a newbie, and this was the first time I've ever tried to mod anything, and as expected, I couldn't get it to work.

I opened the thread.php in wordpad, searced up the "$poll", and found it right under the "show poll" embedded in xxx'es

Then wrote it like this...



I translated the text to Norwegian, as my forum is going to be in Norwegian.

I then copied the whole modified file into the showthread.php file on my forum server, saved it, and tried to open a post on my forum...

I'm using the 3-6-8_Patch_Level_2 version

As expected, I got an error message...



*= I removed this name, naturally...

I then put back the original file, without the mods, and the threads showed as before...

What did I do wrong?

Did I put the mod in at the wrong place?

Can anyone please help me???


You don't find $poll in your showthread.php through notepad on your FTP server.

You go to your AdminCP - Styles & Templates > Style Manager > Edit Templates > SHOWTHREAD > Search/Find $poll then add whatever it was under it, above it or whatever the mod said.

I'm going to try this in a minute.

TCE Killa 02-23-2008 12:16 AM

Works like a charm, thanks alot. I use 3.6.8 PL 2. Marked installed.

danyz81 06-18-2009 04:05 PM

Great! Installed thanks!!

Anyone known how put also who have started the thread and when (date)?

Thanks!!


All times are GMT. The time now is 08:56 AM.

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.01159 seconds
  • Memory Usage 1,745KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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