Install BBCode Box buttons in the 2nd Profile posting pages?

Forum_easyUCP_Desc

Install BBCode Box buttons in the 2nd Profile posting pages?

Beitragvon mariocaz » 8. Mär 2006 06:48

Hello my friend, me again!!! jejeje :)

What I have to do to insert all the BBCode Buttons that are in the posting body pages in the Second Profile posting pages? :P

I want something like this:

Bild
Yes but without errors like my example, everything in each places jajajaja :lol:


Because I want in all the Second Profile Pages the users put one photo and a little history of theirs Aquariums and to do this almost all the users don't know use the BBCode so that is the reason that I want to put the BBCode buttons there, to make this more easy for my users jeje

This is my 2nd Profile Page, take a look:

http://www.all-reefs.com/inicio/profile ... u=2&page=2

And I want my members do something like this. 8)

Regards my friend. :wink:
mariocaz
User
 
Beiträge: 148
Registriert: 9. Jun 2005 07:35

Beitragvon AmigaLink » 8. Mär 2006 09:25

but without errors like my example
You have made a simple HTML mistake.
Attach your profile_add_body.tpl and I will correct ist for you.
This is my 2nd Profile Page, take a look
Guests can't look at your profile. ;)
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon mariocaz » 8. Mär 2006 18:32

Jejeje ok but I saw that I can put the buttons there but they don't work. :?

Here are my profile_add_body.tpl files(one with the Mod and the other without) and also I put one of my posting_body.tpl file for if you want to look part of the BBcode. :)

[center][ Attachment gelöscht am 09.03.2006, 12:27 von AmigaLink ][/center]
Dateianhänge
posting_body.zip
(6.27 KiB) 483-mal heruntergeladen
profile_add_body(fisubsilversh with the Mod).zip
(5.34 KiB) 481-mal heruntergeladen
mariocaz
User
 
Beiträge: 148
Registriert: 9. Jun 2005 07:35

Beitragvon AmigaLink » 8. Mär 2006 21:30

Ok, try this.
I don't now the BBCode BOX and can not test the changes. So I can not guarantee the that the buttons work. But the optical should be correctly now. :)
Dateianhänge
new profile_add_body(fisubsilversh with the Mod).zip
(5.33 KiB) 497-mal heruntergeladen
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon mariocaz » 9. Mär 2006 09:28

Wow it looks great!! :P :P

But like you said the buttons don't works jejejeje :lol:

What I have to do for do the buttons works ? :?

I atach here if you need my includes/bbcode.php file or tell me which file do u want to take a look. :wink:

Added after 10 hours 47 minutes:

Hello my friend Amigalink :mrgreen: , well I inserted this code (I found it in the postin_body.tpl file) in the top of the profile_add_boddy.tpl files: :lol:

Code: Alles auswählen
<script language="JavaScript" src="bbcode_box/add_bbcode.js" type="text/javascript"></script>


And wwooww :shock: jejeje now almost all the BBcode Buttons :P works but not all :cry: , like all the Font type, color and size aren't working and almost all the buttons of the last line, so I think some code that is in the posting_body.tpl is missing in the profile_add_boddy.tpl but I don't find which one. :?

And also don't appears the messages that should appears down the BBCode buttons when you put the mouse in any BBCode button, like when I put the mouse in the B button, this message appears: "Bold text: text (alt+b)"

I think too... that missing thing is part of the problem. :roll:


I found that the BBCode Mod that is in my board is this:

Code: Alles auswählen
#################################################################
## Mod Title:   bbcode_box for phpBB2
## Mod Version:   v 4.5.0
## Author:   AL Tnen <al_tnen@hotmail.com> - http://www.tnen.zzn.com
## Description: This will cahnge bbcode buttons in postung_body
##      with images like in MS-Word and add a lot of new&useful bbcode
##      this mod make adding smiles very easy&you can add smile in the
##      center of text
##      Now it's easly to add bbcode(Just select the text and press on
##      the bbcode to add it to the selected text)
##
## BBcodes : Align(left,right,center,justify)
##          Bold, Italic, Under line, Code, Quote, URL, Email
##          Font(color,type,size)
##          FontColor(Fade, gradient)
##          MessageBox(Right to Left, Left to Right)
##          MarqueText(up,down,left,right)
##          add Web Page in the post
##          add(image, flash, video, stream, Real media, H-line)
##          remove bbcodes from the selected text
##         
##
## Installation Level:   Easy
## Installation Time:   10 Minutes
##
## Files To Edit: 3
##   includes/bbcode.php
##   templates/subSilver/bbcode.tpl
##   templates/subSilver/posting_body.tpl
##
## Included Files: 43
##   bbcode_box/add_bbcode.js
##   bbcode_box/grad.htm
##   bbcode_box/images/bold1.gif
##   bbcode_box/images/bold.gif
##   bbcode_box/images/center1.gif
##   bbcode_box/images/center.gif
##   bbcode_box/images/code1.gif
##   bbcode_box/images/code.gif
##   bbcode_box/images/email.gif
##   bbcode_box/images/fade1.gif
##   bbcode_box/images/fade.gif
##   bbcode_box/images/flash.gif
##   bbcode_box/images/grad.gif
##   bbcode_box/images/hr.gif
##   bbcode_box/images/img.gif
##   bbcode_box/images/italic1.gif
##   bbcode_box/images/italic.gif
##   bbcode_box/images/justify1.gif
##   bbcode_box/images/justify.gif
##   bbcode_box/images/left1.gif
##   bbcode_box/images/left.gif
##   bbcode_box/images/ltr.gif
##   bbcode_box/images/marqd1.gif
##   bbcode_box/images/marqd.gif
##   bbcode_box/images/marql1.gif
##   bbcode_box/images/marql.gif
##   bbcode_box/images/marqr1.gif
##   bbcode_box/images/marqr.gif
##   bbcode_box/images/marqu1.gif
##   bbcode_box/images/marqu.gif
##   bbcode_box/images/plain.gif
##   bbcode_box/images/quote1.gif
##   bbcode_box/images/quote.gif
##   bbcode_box/images/ram.gif
##   bbcode_box/images/right1.gif
##   bbcode_box/images/right.gif
##   bbcode_box/images/rtl.gif
##   bbcode_box/images/sound.gif
##   bbcode_box/images/under1.gif
##   bbcode_box/images/under.gif
##   bbcode_box/images/url.gif
##   bbcode_box/images/video.gif
##   bbcode_box/images/web.gif
##
##
#################################################################
##
## Author Notes:
##
##   This mod only tested on phpbb 2.0.3
##   This mod developed on smartor_bbcode_editor script
##
##   ^_^ Have fun!!! ^_^
##
#################################################################
##
## Installation Notes:
##
## You should change all your templates and language packs
##
## If you haven't added any new bbcode to your forum or any hacks on posting_body
## You can obsolete the second step and copy these files to your forum
##   contrib/bbcode.php ---> includes/bbcode.php
##   contrib/bbcode.tpl ---> templates/subSilver/bbcode.tpl
##   contrib/posting_body.tpl ---> templates/subSilver/posting_body.tpl
##
## The most important thing to keep in mind is, take your time, make
## sure you are finding the correct lines to modify, then take care to paste the new code.
## Please also keep in mind, if you are using more than one language file or theme at your
## site, you will need to edit the corrosponding files for each occurrence.  Good Luck!
##
#################################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
#################################################################
## Demo/Tech-Support:     http://tnen.host.sk/forums
#################################################################


And I also attached these two files if u need it: bbcode.tpl and bbcode.js (bbcode.zip)[/code]
Dateianhänge
bbcode files.zip
(4.73 KiB) 450-mal heruntergeladen
bbcode.zip
(12.25 KiB) 492-mal heruntergeladen
mariocaz
User
 
Beiträge: 148
Registriert: 9. Jun 2005 07:35

Beitragvon AmigaLink » 9. Mär 2006 12:27

I know which MOD is used in the phpBB2 plus and I hate this MOD. More exactly said I hate all BBCode Box MODs. Because this MODs are all bugy (particularly the one which is used in der plus boards) and (IMHO) makes more trouble than it use bring. :?

The code which you have inserted now is correctly. I also wanted to have inserted that but I have it forgotten. :roll:
I can't say you which code that exactly must be. But the helpline and parts from the Font selectors must be defined in the usercp_register.php and the needet code you can find in the posting.php.

More help I can not give you by this problem at this time. :(
Because I do not have the time and the motivation to learn the BBCode Box code. :roll:

Zugefügt nach 1 Minute(n):

Sorry
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon mariocaz » 18. Mär 2006 07:20

Ok my friend don't worry I can understand. :oops: :wink:

Tell in any moment that u can and want to help me and in the moment I attach here my posting.php and my includes/usercp_register.php files ok. :P

Cheers, :)

Added after 8 days 11 hours 49 minutes:

Hi my friend!!! :)

Finally I can install this little Mod in my board and looks great!!!!! :P :P

Here I put that I did for if someone want to do the same jejeje.

First I put the code of the BBcode buttons that is in templates/xxx/posting_body.tpl file in the templates/xxx/profile_add_body.tpl file. (Amigalink help me a little with this)


Then I put this code in the top of the templates/xxx/profile_add_body.tpl file:

Code: Alles auswählen
<script language="JavaScript" src="bbcode_box/add_bbcode_profile.js" type="text/javascript"></script>



And finally I uploaded this file, add_bbcode_profile.js to the bbcode_box carpet, I attach here the file. 8)

And that is all :D , now everyh bbcode button of the 2nd Profile Page is working very well. :P

Cheers. :wink:
Dateianhänge
add_bbcode_profile.zip
(3.68 KiB) 373-mal heruntergeladen
mariocaz
User
 
Beiträge: 148
Registriert: 9. Jun 2005 07:35

Beitragvon AmigaLink » 18. Mär 2006 12:38

Fine - thank you for that explanation. 8)
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon mariocaz » 18. Mär 2006 17:24

Thanx too my friend! :wink:

I hope this help anyone who wants the BBcode Buttons in his 2nd Profiles Pages. :D
mariocaz
User
 
Beiträge: 148
Registriert: 9. Jun 2005 07:35


Zurück zu easy UCP



Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast

cron