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.

How to make an info box above quick reply for PunBB?

View previous topic View next topic Go down

Solved How to make an info box above quick reply for PunBB?

Post by mpelmmc on September 2nd 2011, 6:24 pm

Hello guys, I'm in love with that box, and I wanna insert it on my forum, but I've got a problem, the mods has posted the codes for phpBB3 and phpBB2, and not for PunBB. Could you give me the code to put that box on my forum?

Thank you so much Smile

mpelmmc
Forumember

Male Posts : 139
Reputation : 12
Language : Spanish (100%), English (90%) and Google Translate.
Location : I go back and forth.

http://asistencia.foroactivo.com/forum

Back to top Go down

Solved Re: How to make an info box above quick reply for PunBB?

Post by Nera. on September 2nd 2011, 6:29 pm


Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: How to make an info box above quick reply for PunBB?

Post by mpelmmc on September 2nd 2011, 6:35 pm

Yes, it may works with PunBB, but on thread that you have given me there are only codes for phpBB3 and phpBB2... And I want one code for PunBB Razz

mpelmmc
Forumember

Male Posts : 139
Reputation : 12
Language : Spanish (100%), English (90%) and Google Translate.
Location : I go back and forth.

http://asistencia.foroactivo.com/forum

Back to top Go down

Solved Re: How to make an info box above quick reply for PunBB?

Post by Nera. on September 2nd 2011, 7:00 pm

I used the code from the thread bye

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: How to make an info box above quick reply for PunBB?

Post by mpelmmc on September 2nd 2011, 7:03 pm

@Nera. wrote:I used the code from the thread bye

And where did you find it? I can't. Could you make a scream from the part of the thread where is the code for PunBB? :| xD

Sorry, I'm only studing English and I didn't find it.

mpelmmc
Forumember

Male Posts : 139
Reputation : 12
Language : Spanish (100%), English (90%) and Google Translate.
Location : I go back and forth.

http://asistencia.foroactivo.com/forum

Back to top Go down

Solved Re: How to make an info box above quick reply for PunBB?

Post by Nera. on September 2nd 2011, 7:07 pm

Wisdom. wrote:Here's what you have to do:

Go to AP/Modules/HTML & JAVASCRIPT/Javascript codes management

Press the "Create a new javascript" button, choose what title you want, doesn't matter, choose "In all the pages", paste this:

Code:
$(document).ready(function() {
   $('#text_editor_textarea').before('<div class="before_post_message">What message you want</div>');
});

And then click the "Submit" button.

Now you can style it using your style sheet, just go to AP/Display/Pictures and Colors/Colors/CSS Stylesheet and add this:

Code:
.before_post_message {
   background: #FFCDCD;
   border: 1px solid #D8000C;
   text-align: center;
   font-weight: bold;
   padding: 5px;
   margin: 0 0 4px;
}

Click the "Submit" button here as well

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: How to make an info box above quick reply for PunBB?

Post by mpelmmc on September 2nd 2011, 7:17 pm

Thank you so much. I didn't find it. Sorry haha.

Solved Wink

mpelmmc
Forumember

Male Posts : 139
Reputation : 12
Language : Spanish (100%), English (90%) and Google Translate.
Location : I go back and forth.

http://asistencia.foroactivo.com/forum

Back to top Go down

Solved Re: How to make an info box above quick reply for PunBB?

Post by Sanket on September 2nd 2011, 7:22 pm

Since this thread appears to be solved, I will lock this thread and mark it as solved.


Sanket Smile


Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.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