vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How can I place some text in this spot? (https://vborg.vbsupport.ru/showthread.php?t=261380)

Chase 04-03-2011 05:00 PM

How can I place some text in this spot?
 
haha work with me here! I'll explain this the best I can.

I upgraded to 4.1.2 and I want to put a countdown clock on the forumhome template (or whatever the index of the forum is), above the first forum in that big white open space... but to the right of your site's name, etc.

In the white space below the navbar.

I would probably actually want to align it all the way to the right side of the page.... so above where it says "Last Post."

Also, for comparisons on how it looks on my end, how could I also put it below the "Notifications, Profile, Settings, Logout" links on the header?

Any ideas?

--------------- Added [DATE]1301886986[/DATE] at [TIME]1301886986[/TIME] ---------------

bump

your24hourstore 04-04-2011 05:01 PM

1 Attachment(s)
I will help you out...goto to your website, and push the key prtc see pic
then open your image software like paint and hit paste: the screen shot will be pasted into that program.

now you can edit it like i did with that red square. its easier to see what your talking about by showing us rather than explaining it :)

Chase 04-04-2011 06:13 PM

http://img16.imageshack.us/i/91245089.jpg/

My goal is to have a countdown clock in the center (or right side) of the page... haven't decided yet.... across (on the same line) of the "Test Forums" text.

I've made some attempt, but I'm doing something wrong here.

In the FORUMHOME
PHP Code:

<div id="pagetitle">
<
h1>{vb:raw vboptions.bbtitle}</h1>
<
p id="welcomemessage" class="description">{vb:rawphrase welcome_to_the_x, {vb:raw vboptions.bbtitle}}</p>

<
div align="center">Test</div>

</
div


Boofo 04-04-2011 06:58 PM

Try looking for a "float: right" or something similar in the templates search.

your24hourstore 04-04-2011 09:29 PM

ok that area is in navbar template , search for navbits and it will look like this
Code:

{vb:raw navbits.breadcrumb}
add this
Code:

<center><a>test<a/><center/>
--------------- Added [DATE]1301956184[/DATE] at [TIME]1301956184[/TIME] ---------------

Code:

{vb:raw navbits.breadcrumb}<center><a>test<a/><center/>

Chase 04-04-2011 10:29 PM

This didn't work.

http://img218.imageshack.us/f/37468797.jpg/

I basically want the "Test" to be moved up 2 lines in that first pic I showed you.

your24hourstore 04-05-2011 01:32 AM

1 Attachment(s)
even putting it in breadcrumbs line it will float right as bread crumbs get deeper, since the template is fluid, its going to move stuff around when you add stuff in the template. so its not that easy. you have a couple of options.

you can redo a style, like this , that area is in the DOC background area
Not knowing what size whatever your going to put in that navbar template I cant tell you what it will do , what code are you trying to show

And instead of showing a link to image shack. :) upload the pic as an attachment https://vborg.vbsupport.ru/external/2011/04/2.gif https://vborg.vbsupport.ru/external/2011/04/3.gifright here of what your expectations are for this template mod

your24hourstore 04-05-2011 01:36 AM

"Notifications, Profile, Settings, Logout" links on the header?"
as far as this positions that's easy use the advertising block for that area

Chase 04-05-2011 04:38 PM

This is a little discouraging because adding a countdown clock in that area would be really attractive, IMO.

Here is the script I want to use, and you can see a working example there, http://www.hashemian.com/tools/javascript-countdown.htm

Redoing the style is not an option as I am using a custom style from here.

Staxed 04-05-2011 05:27 PM

Quote:

Originally Posted by Chase (Post 2181156)
This is a little discouraging because adding a countdown clock in that area would be really attractive, IMO.

Here is the script I want to use, and you can see a working example there, http://www.hashemian.com/tools/javascript-countdown.htm

Redoing the style is not an option as I am using a custom style from here.

What style? If you let us know the style someone might be able to quickly throw up the code needed to put it there.

Boofo 04-05-2011 05:30 PM

Why not do the countdown in the WGO area like I did with the Site Life Status mod?

Chase 04-05-2011 05:47 PM

Quote:

Originally Posted by Irisfire (Post 2181180)
What style? If you let us know the style someone might be able to quickly throw up the code needed to put it there.

https://vborg.vbsupport.ru/showthread.php?t=257319

Quote:

Originally Posted by Boofo (Post 2181181)
Why not do the countdown in the WGO area like I did with the Site Life Status mod?

Thanks for the reply but I would like it to be at the top of the page. Quicker, easier access for users.

--------------- Added [DATE]1302033619[/DATE] at [TIME]1302033619[/TIME] ---------------

I mean there has to be a way this can be done... because in showthread there is text aligned to the left and to the right, on the same line.

your24hourstore 04-05-2011 09:01 PM

works fine
I just cant put it exactly were you seem to want it

heres the code its showing on my site its counting down and its centered
Code:

{vb:raw navbits.lastelement}<center><script language="JavaScript">
TargetDate = "12/31/2020 5:00 AM";
BackColor = "palegreen";
ForeColor = "navy";
CountActive = true;
CountStepper = -1;
LeadingZero = true;
DisplayFormat = "%%D%% Days, %%H%% Hours, %%M%% Minutes, %%S%% Seconds.";
FinishMessage = "It is finally here!";
</script>
<script language="JavaScript" src="http://scripts.hashemian.com/js/countdown.js"></script><center/>

its in NAVBAR template though

--------------- Added 05 Apr 2011 at 17:02 ---------------

oh im running 4.1.3 beta too and its working fine

your24hourstore 04-05-2011 09:07 PM

1 Attachment(s)
did you want it here i see something about above last post

Chase 04-05-2011 09:10 PM

Quote:

Originally Posted by your24hourstore (Post 2181301)
did you want it here i see something about above last post

Right, that's where I would like it.

your24hourstore 04-05-2011 09:14 PM

oh well ok let me see what i can find that forumhome i think

--------------- Added [DATE]1302043278[/DATE] at [TIME]1302043278[/TIME] ---------------

what version do you run?

Chase 04-05-2011 09:45 PM

I'm running 4.1.2

your24hourstore 04-05-2011 09:57 PM

1 Attachment(s)
this is the best spot i have found and simple

your24hourstore 04-05-2011 10:01 PM

oh my god
that's where its been I have no header so i had to show you on another site OK
just drop the code at the very bottom of Template: navbar
<center>add your code here </center>

Chase 04-05-2011 10:16 PM

That appears to be the best we can do isn't it? I guess i could live with that but one of the reasons why I wanted it on the forumhome is so it doesn't have to show on each page.

your24hourstore 04-05-2011 10:29 PM

yea problem is there is so much java in showthread and forum home it would need to be reworked with some css , you could enable html for your admin account and just put it in a sticky which is what i would do or even in your UN registered user notice

Chase 04-05-2011 10:44 PM

What do u mean put it in a sticky?

--------------- Added [DATE]1302123141[/DATE] at [TIME]1302123141[/TIME] ---------------

Thanks for the help guys I've decided to put it in the adblock template in the header.


All times are GMT. The time now is 07: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.01813 seconds
  • Memory Usage 1,770KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (22)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