PDA

View Full Version : How can I place some text in this spot?


Chase
04-03-2011, 05:00 PM
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 1301886986 at 1301886986 ---------------

bump

your24hourstore
04-04-2011, 05:01 PM
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
<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 {vb:raw navbits.breadcrumb} add this <center><a>test<a/><center/>

--------------- Added 1301956184 at 1301956184 ---------------

{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
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
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
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

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 1302033619 at 1302033619 ---------------

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

{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 (http://fourstateshome.com/)

your24hourstore
04-05-2011, 09:07 PM
did you want it here i see something about above last post

Chase
04-05-2011, 09:10 PM
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 1302043278 at 1302043278 ---------------

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
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 1302123141 at 1302123141 ---------------

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