I am looking for a favour

DirtRider

  • All truth, in the long run, is only common sense clarified.
  • Posts: 303
I am looking for a favour
« on September 17th, 2011, 04:37 PM »
Ok guys I am looking for a favour if possible I would really appreciate any help here. I am running vBulletin on my main forum and would like to add a custom BBC to do the following but have no idea on how to do it. What it should do is the following. When a member goes off topic within a thread he needs to post the following code [highjack] his text [/highjack] This should bring up a quote like box with the word Highjack above it and maybe the box in a light green or something. Here is a link on how it is done in vBulletin but its all Greek to me  :blush:

https://www.vbulletin.com/docs/html/main/bbcode_add 
“Any code of your own that you haven’t looked at for six or more months might as well have been written by someone else.”
(Eagleson’s Law)

Today's Logo

live627

  • Should five per cent appear too small / Be thankful I don't take it all / 'Cause I'm the taxman, yeah I'm the taxman
  • Posts: 1,670
Re: I am looking for a favour
« Reply #1, on September 18th, 2011, 03:31 AM »
Nice. I really do wonder who here has sufficient knowledge to do that.
A confident man keeps quiet.whereas a frightened man keeps talking, hiding his fear.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: I am looking for a favour
« Reply #2, on September 18th, 2011, 03:35 AM »
I've never used vBulletin as an administrator, and I suspect most here haven't.

I could do it in SMF/Wedge pretty much with my eyes shut though :whistle:
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

Norodo

  • Oh you Baidu, so randumb. (60 sites being indexed at once? Jeez)
  • Posts: 469
Re: I am looking for a favour
« Reply #3, on September 18th, 2011, 04:20 AM »
This looks fairly straightforward... Maybe I'm just being a dummy and underestimating this? (probably), but, you could try something like:

Code: [Select]
Title: "Highjack"
Tag: "highjack"
Replacement: <div style="border: 1px solid black;"><p style="width: 100%; border-bottom: 1px solid black; margin: 0; padding: 3px;">Highjack</p><p style="background: #DDFFDD; margin: 0; color: black; padding: 3px;">{param}</p></div>
Use Option: No.
Button Image: Empty
Remove Tag If Empty?: Yes
Disable BB Code Within This BB Code?: No
Disable Word Wrapping Within This BB Code?: No

Arguably; "quote like box" can be pretty much anything (I'd need a screenie to choose the right colors / size) , and this HTML/CSS is probably not good or right or semantically right, but it works for me.

EDIT: Incidentally this is one of those things I never really looked enough into how you did in SMF, since it seemed very hard.

DirtRider

  • All truth, in the long run, is only common sense clarified.
  • Posts: 303
Re: I am looking for a favour
« Reply #4, on September 18th, 2011, 08:31 AM »Last edited on September 18th, 2011, 08:38 AM by DirtRider
Quote from Norodo on September 18th, 2011, 04:20 AM
This looks fairly straightforward... Maybe I'm just being a dummy and underestimating this? (probably), but, you could try something like:

Code: [Select]
Title: "Highjack"
Tag: "highjack"
Replacement: <div style="border: 1px solid black;"><p style="width: 100%; border-bottom: 1px solid black; margin: 0; padding: 3px;">Highjack</p><p style="background: #DDFFDD; margin: 0; color: black; padding: 3px;">{param}</p></div>
Use Option: No.
Button Image: Empty
Remove Tag If Empty?: Yes
Disable BB Code Within This BB Code?: No
Disable Word Wrapping Within This BB Code?: No

Arguably; "quote like box" can be pretty much anything (I'd need a screenie to choose the right colors / size) , and this HTML/CSS is probably not good or right or semantically right, but it works for me.

EDIT: Incidentally this is one of those things I never really looked enough into how you did in SMF, since it seemed very hard.
That did the trick thanks  :cool:

 :lol: Looking at how easy it was I really feel blond now  :whistle:

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: I am looking for a favour
« Reply #5, on September 18th, 2011, 12:23 PM »
We shall have a similar bbc creator in the future, for Pete moved the BBC definitions from Subs.php to the database... (Which makes it harder for me to update them since we don't have an editor yet :P)

Norodo

  • Oh you Baidu, so randumb. (60 sites being indexed at once? Jeez)
  • Posts: 469
Re: I am looking for a favour
« Reply #6, on September 18th, 2011, 03:50 PM »
Quote from Nao on September 18th, 2011, 12:23 PM
We shall have a similar bbc creator in the future, for Pete moved the BBC definitions from Subs.php to the database... (Which makes it harder for me to update them since we don't have an editor yet :P)
Praise the lawd.

(I mean Nao)

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: I am looking for a favour
« Reply #7, on September 18th, 2011, 04:11 PM »
Lawd? Are you familiar with the French area of Noisen maybe?
People over there used to call me "Gwand Patwon" (I even have a smiley with that name on it!), which could be translated as "Lawd"... :lol: (Well, it's "big boss", but "big boss" doesn't have any r's in it...)

Norodo

  • Oh you Baidu, so randumb. (60 sites being indexed at once? Jeez)
  • Posts: 469
Re: I am looking for a favour
« Reply #8, on September 18th, 2011, 04:39 PM »
Sadly (?) I picked German in school.

Maybe you'd be "Nao der Größte"? (Note, I don't really know German, especially grammar. Der could very well be die or das or des or God knows. German grammar is insane.)

Nao

  • Dadman with a boy
  • Posts: 16,082

Dr. Deejay

  • Happy new year all!
  • Posts: 118
Re: I am looking for a favour
« Reply #10, on September 18th, 2011, 06:25 PM »
Quote
German grammar is insane.
Dutch grammar is even more insane. I believe 90% of the people out here have issues with "d's" and "t's". Dutch grammar is a hell :(

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: I am looking for a favour
« Reply #11, on September 18th, 2011, 07:58 PM »
I only recently learned that "ij" is pronounced like the i in "mike".
I always thought the Dutch were crazy enough to have plenty of words they literally pronounced "ijjjj" :P

Dr. Deejay

  • Happy new year all!
  • Posts: 118

Aaron

  • Posts: 356
Re: I am looking for a favour
« Reply #13, on September 19th, 2011, 12:23 AM »
Quote from Dr. Deejay on September 18th, 2011, 06:25 PM
Dutch grammar is a hell :(
It's actually fairly straightforward, really ... Just because people can't be arsed to learn their grammar properly, doesn't mean the grammar itself is flawed.
"The entire British Empire was built on cups of tea … and if you think I'm going to war without one, mate, you're mistaken."

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: I am looking for a favour
« Reply #14, on September 19th, 2011, 12:26 AM »
It's probably more logical than English grammar, which even though I'm a native speaker, and am considered above average in terms of my language comprehension and precision, I still have trouble with...

I should add that my knowledge of non-English languages is prejudiced, I studied French and briefly Spanish in school, and since then I've replaced whatever I knew about those with programming languages...[1]
 1. Even there, PHP's grammar is consistent, but its verb conjugation makes English look good. I mean, str_* functions are so mindnumbingly inconsistent that very occasionally I have to look one up to figure out whether it's str_ or str, or which order it wants parameters in. Not often, mind, because I use them all pretty regularly, but just once in a blue moon...