Custom BB Code

Started by Anguz, November 12, 2004, 05:35:27 AM

Previous topic - Next topic

Anguz

Quote from: Waste on March 04, 2005, 01:07:31 AM
How could I make the text area in the admin area larger?
Getting kinda hard to weed through the code in such a small window.


Nevermind.
Figured it out myself.

Cool. :)

Actually, how I'd do it is, write the code in a text editor and then copy/paste to the textarea. :P
Cristián Lávaque http://cristianlavaque.com

Waste

Quote from: Anguz on March 04, 2005, 02:47:51 AM
Quote from: Waste on March 04, 2005, 01:07:31 AM
How could I make the text area in the admin area larger?
Getting kinda hard to weed through the code in such a small window.


Nevermind.
Figured it out myself.

Cool. :)

Actually, how I'd do it is, write the code in a text editor and then copy/paste to the textarea. :P


Yea, that's what I usually do, but I had like 15 windows open and couldn't be arsed to open another. :P
Maybe you could make it have it's own section and move the already installed BBcodes to another text box?

Anguz

I think it's fine like this. :)
Cristián Lávaque http://cristianlavaque.com

azuregenesis

#63
Quote from: Anguz on March 04, 2005, 04:35:43 AM
I think it's fine like this. :)

it's perfect :)

i'm using Bloc's Themis theme and it works great!

oh BTW, the search code for amazon.com was way off. it searches forthe term typed in the "books" section.

here the real code for it (tried it mysellf)

Amazon.com - all products search
amazon <a href="http://www.amazon.com/exec/obidos/search-handle-url/index%3Dblended%26field-keywords=$1" target="_blank">$1</a>

where the $1 is, your search term goes there (but everyone already knew that, right?)

take care.

Waste

Quote from: Anguz on March 04, 2005, 04:35:43 AM
I think it's fine like this. :)

Ok, that's cool.
Just trying to make some suggestions. :)

rakuli

Hi
I liked the concept of custom BB code.
I downloaded it in the package manager and installed it. It advsied me of the success then on clicking proceed the page went blank. :o
I can't get into the forum at all now and did quite a bit of work between the error and the last backup. :(
The forum is just all white and veiwing the page source doesn't help as it is simply
<html><body></body></html>
I don't know where to start to get it fixed. Although it will not kill me to restore from backup I would prefer to get it working again. :-[

Anguz

You can probaby go to the previous version of the files with an FTP client. First open the .mod file in the package and make a list of the files it modifies, they're between <edit file> tags, and then look for those in your FTP server. The previous version is probably there renamed with a tilda "~" at the end, if so, remove the copies without the tilda and then rename the files taking the tilda away. I hope that made sense.

What SMF version are you using? Also, did you first apply the mods it requires? FasterParsecode and ModSettingsTextarea.
Cristián Lávaque http://cristianlavaque.com

rakuli

#67
Quote from: Anguz on March 15, 2005, 06:20:47 AM

What SMF version are you using? Also, did you first apply the mods it requires? FasterParsecode and ModSettingsTextarea.
I was just reading now the mod description and noticed it required thos other mods.
I downloaded it through the package manager and I am pretty certain that this is not mentioned there. <edit>It is there MY BAD<edit>
Quote from: Anguz on March 15, 2005, 06:20:47 AM

You can probaby go to the previous version of the files with an FTP client. First open the .mod file in the package and make a list of the files it modifies, they're between <edit file> tags, and then look for those in your FTP server. The previous version is probably there renamed with a tilda "~" at the end, if so, remove the copies without the tilda and then rename the files taking the tilda away. I hope that made sense

I am not entirely sure what you mean here. So in the .mod file in the package I will find where to go to change files back to old versions?
I wasn't aware that it renamed the original files.....I will check it now.



rakuli

Right.
I followed your instructions and the forum works again :D ;D
Thanks.

I will be careful to read all mod descriptions in the future.

Anguz

Quote from: rakuli on March 15, 2005, 06:35:15 AM
Right.
I followed your instructions and the forum works again :D ;D
Thanks.
Great!

Quote from: rakuli
I will be careful to read all mod descriptions in the future.
Good. ;)
Cristián Lávaque http://cristianlavaque.com

azuregenesis

i accidentally uninstalled this since i wanted to try out the "spoiler tag" mod and i can't reinstall it now. :(

does anyone have a version that works for 1.03?

help is needed.

azuregenesis


Anguz

Not updated to 1.0.3 yet, sorry. I've been pretty busy lately, but I hope I'll put some time aside in the next few days to work on my mods.
Cristián Lávaque http://cristianlavaque.com

azuregenesis

#73
Quote from: Anguz on April 12, 2005, 09:22:32 AM
Not updated to 1.0.3 yet, sorry. I've been pretty busy lately, but I hope I'll put some time aside in the next few days to work on my mods.

thank you :) i eagerly await the update for 1.0.3 :)

azuregenesis


Anguz

1.03


  • Updated for SMF 1.0.3.
Cristián Lávaque http://cristianlavaque.com

azuregenesis


hartiberlin

Hi,
does this mod allow me as the admin of my forum
to add Javascript code to my signature ?

Only me as the admin should be able to use this,
so could this be set under permission to be able only to be used
by the admin ?

Can I also use <form> tags and other tags HTML code this way ?

Thanks.

Regards, Harti.


Anguz

Well, it still doesn't parse codes based on membergroups, so no, it wouldn't work. But SMF 1.1 has an HTML tag for admins, which would allow you to do what you want.
Cristián Lávaque http://cristianlavaque.com

hartiberlin

Hmm, wouldn´t it be able to just don´t display the new BBcodes
to normal member in their posting window, so only me as the moderator
knows the new tags, so I could add Javascript and other code to postings ?

I don´t want to upgrade to a beta version in this moment, cause my forum runs pretty stable !

Thanks.

Regards, Stefan.

Advertisement: