The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Inserting my chatbox into my Navbar

View previous topic View next topic Go down

Inserting my chatbox into my Navbar

Post by Eman and Kou on November 14th 2010, 2:53 am

So yeah i'm trying to insert the code for my chatbox into my navbar so that when people click it, it pops up out of the navbar.

Now here's some insider scoop about my navbar before people reply with the wrong idea: My navbar's not at the top of the page, and it doesn't stay in one place.

I have my navbar fixed to the side so that it scrolls down so it's visible whenever the users need it to be visible, but I also want my chatbox to be in my navbar so that my users can simply click and bam it be there without having to go ALLL the way back to the main page just to look at the chatbox.

Now a side note, i'm using Punbb, so I need someone who's well versed in it to help me. I tried looking at google, but that got me no where...

Thanks ahead in advance!~

Eman-

Eman and Kou
Forumember

Male Posts : 367
Reputation : 6
Language : English, Spanish, Japanese, Female, HTML, CSS (working on it), GFX (Working on it)
Location : Somewhere where santa cant find me

http://ninja-generation.rpg-dynasty.com/index.htm

Back to top Go down

Re: Inserting my chatbox into my Navbar

Post by Eman and Kou on November 15th 2010, 11:30 am

Sooo...it's been 24 hours + a few...Bump...? Kinda trying to not rush you folks because I know everyone has their own jobs and such but I kinda want to get this done and out of the way...

Eman and Kou
Forumember

Male Posts : 367
Reputation : 6
Language : English, Spanish, Japanese, Female, HTML, CSS (working on it), GFX (Working on it)
Location : Somewhere where santa cant find me

http://ninja-generation.rpg-dynasty.com/index.htm

Back to top Go down

Re: Inserting my chatbox into my Navbar

Post by Guest on November 15th 2010, 12:08 pm

ACP - Display - Homepage - Headers & Navigation - Add a customized menu:

Menu: Chatbox
Picture: Your choice.
Text Chatbox
Redirection URL : /chatbox/chatbox.forum?
Rights : Administrators - Moderators - Members - Guests
Display : Open in a new window: Yes

Guest
Guest


Back to top Go down

Re: Inserting my chatbox into my Navbar

Post by EverEffects on November 15th 2010, 10:41 pm

I'd like to do this same thing, I'm running a phpbb2 though. Is it the same thing?

EverEffects
Forumember

Posts : 105
Reputation : 1
Language : English

Back to top Go down

Re: Inserting my chatbox into my Navbar

Post by McStormify on November 15th 2010, 10:50 pm

Yes, it is.

McStormify
Forumember

Male Posts : 217
Reputation : -6
Language : English
Location : UK

Back to top Go down

Re: Inserting my chatbox into my Navbar

Post by Eman and Kou on November 18th 2010, 12:17 pm

Thanks for the help Gangstarr but that's not what i'm trying to do...exactly...I want an actual chatbox to pop out of my Navbar. Because I have template editing which allows me to edit the navbar code so I should be able to insert a chatbox, in theory...

Eman and Kou
Forumember

Male Posts : 367
Reputation : 6
Language : English, Spanish, Japanese, Female, HTML, CSS (working on it), GFX (Working on it)
Location : Somewhere where santa cant find me

http://ninja-generation.rpg-dynasty.com/index.htm

Back to top Go down

Re: Inserting my chatbox into my Navbar

Post by Guest on November 18th 2010, 2:54 pm

Hmm.. okay (:
i will work with it (:

Guest
Guest


Back to top Go down

Re: Inserting my chatbox into my Navbar

Post by kirk on November 18th 2010, 7:43 pm

well then you may have to create a whole new nav bar.
i can give you a code that will pop-out to the chat along with the image you want for the nav bar,

i will see if it can be inserted like you are saying.. if not it's no big deal and rather easy to just create a whole new custom navbar.. but i will see if i can get it to work the way you are saying first..

I am at school right now,so i will try to have it latter tonight for ya..

unless gangstar15 rono or other members hit ya back first Smile

oh and you want the forumotion chat right..

kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Re: Inserting my chatbox into my Navbar

Post by Henrycé on November 18th 2010, 10:33 pm

Umm you could try putting a chatbox on all pages. I know how to do that. Need help?

Henrycé
Forumember

Posts : 44
Reputation : 10
Language : English

Back to top Go down

Re: Inserting my chatbox into my Navbar

Post by Guest on November 19th 2010, 8:52 am

Kirk is right (: you need to create a custom navbar because you can't add something like:
Code:
href="javascript:popup('poppedexample.html');"
to the new link from the ACP :/

Guest
Guest


Back to top Go down

Re: Inserting my chatbox into my Navbar

Post by RoNo on November 20th 2010, 12:20 am

@Eman and Kou wrote:...I want an actual chatbox to pop out of my Navbar...

You can do it by placing the generated navbar
and the popup chat link in single row table.

(test forum example)


[ Edit the overall_header template ]

after this: <div id="pun-navlinks">
Code:
<ul class="clearfix">
<li>

<center>
<table><tr><td>

{GENERATED_NAV_BAR}

</td>
<td style="padding-top:4px">

<a onclick="window.open('/chatbox/chatbox.forum?archives=0', 'popup1', 'width=830,height=300,height=200,left=150,top=250'); return false" href="/chatbox/chatbox.forum?archives=0" target="popup1"><font face="arial" color="white" size="3">Popup Chat</font></a>

</td></tr></table>
</center>

</li>
</ul>
if you want to see chat archives after logging in...
change archives=0 to archives=1 in the code above



admin panel view (click)



Pre-edit
Code:
<ul class="clearfix">
<li>{GENERATED_NAV_BAR}</li>
</ul>



RoNo
Active Poster

Male Posts : 1270
Reputation : 135
Language : English
Location : Laguna Beach, California

http://bf2mercenaries.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum