vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin.org Site Feedback (https://vborg.vbsupport.ru/forumdisplay.php?f=7)
-   -   A custom [command] code (https://vborg.vbsupport.ru/showthread.php?t=70115)

Logikos 10-02-2004 11:15 PM

A custom [command] code
 
I was just thinking about this when i released one of my hacks. What about having a custom BB code or command like [install], and when that is called in a thread it will show the install button of that style. I noticed there isn't a way to show the correct install button when the user is viewing the thread. Just thought it would be a good idea. :) I'm sure the built in replacements feature would come handy for this.

Dean C 10-03-2004 08:49 AM

Yeah this would be a really nice idea :)

Logikos 10-03-2004 06:32 PM

Wonder what the admins think about this ^^

Xenon 10-03-2004 06:47 PM

They're still thinking ^^

Ok, it's not that hard, but the question is: is it really needed, as the install button is on to of the thread as well?

You know, /me's the bad guy as a puristic admin ^^

MrNase 10-03-2004 06:54 PM

Sure it is.. Now you have to post, find out the threadid, edit it and insert the install button ;)

Xenon 10-03-2004 06:55 PM

hmm, in my threads the installbutton is there without needing an edit ^^

Logikos 10-03-2004 07:32 PM

Its not a dying need, but either is HOTM. It would just be a nice little addon to the site to help others, and be more of a convenice to coders.

I don't see a install button: https://vborg.vbsupport.ru/newthread...newthread&f=35

Once the thread is posted, i have to grab the link url, and the image url, and then edit the thread to add the code [url][img] ect...

Plus if your using the smooth blue style and i add the install image to the style im using, then it looks out of place, would be rather nice to have it like this:

User places "{install}" and then that will call the threadid for the install URL, and then it would call the correct install button for the style that person viewing is using.

Natch 10-03-2004 08:12 PM

Tal;king about inline in the post created by the thread starter: to place an easy install button inline in the thread rather than having to scroll to the top or bottom to "install"

Logikos 10-03-2004 08:26 PM

Quote:

Originally Posted by Natch
Tal;king about inline in the post created by the thread starter: to place an easy install button inline in the thread rather than having to scroll to the top or bottom to "install"

Thats a great idea!!, I see alot of people using the hack but they don't click the install button, maybe there to lazy to scroll up or w/e. Doing that will give the install feature much more needed attention to newbies. Good thinking Natch

Natch 10-03-2004 08:30 PM

Cheers :) TBH I was trying to clarify what you meant ... so I thought it was your idea, and I was just re-phrasing it :D

So good idea yourself ;)

Logikos 10-03-2004 08:43 PM

Well i didn't even think about inline post with the install button. Just want a command the thread start could use to show the install in his post with the correct style install button.

Colin F 10-04-2004 05:57 AM

I would love a bit more complex version of this, which doesn't only affect the install button.

I'm looking for some kind of command that allows me to have a different image per style. That would mean I could write something like this: [img=blue]http://www.x.com/imageblue.gif[/img ]
[img=green1]http://www.x.com/imagegreen1.gif[/img ]
and that would allow me to show a different image per style, so that it fits in with all the backgrounds.
OK, it might be a bit selfisch, but has anyone actually looked at the image in my signature with the dark blue style?!?! ;)

Xenon 10-05-2004 04:20 PM

I'm a bit confused now ^^
Do you mean that img=... should just show up, when the style is ..., or to use the images of the img var currently set?

*consufed*

Colin F 10-05-2004 04:29 PM

Quote:

Originally Posted by Xenon
I'm a bit confused now ^^
Do you mean that img=... should just show up, when the style is ..., or to use the images of the img var currently set?

*consufed*

OK...

Have the image come up according to the style of the viewing user.

So if someone has the dark blue style set, he'll only see the dark blue image.

Of course that might give problems if users don't set images for all 6 styles...

Logikos 10-05-2004 05:06 PM

Quote:

Originally Posted by Live Wire
Its not a dying need, but either is HOTM. It would just be a nice little addon to the site to help others, and be more of a convenice to coders.

I don't see a install button: https://vborg.vbsupport.ru/newthread...newthread&f=35

Once the thread is posted, i have to grab the link url, and the image url, and then edit the thread to add the code [url][img] ect...

Plus if your using the smooth blue style and i add the install image to the style im using, then it looks out of place, would be rather nice to have it like this:

User places "{install}" and then that will call the threadid for the install URL, and then it would call the correct install button for the style that person viewing is using.

This should have cleared everything up. If im the thread starter and i use the [command] in the thread, it should show the install button. And it should show the install button for the correct style.

So if user "A" is using dark blue, and user "B" is using smooth blue, then user "A" will see the dark blues style install button, and user "B" will see the smooth blues style install button. :)

Xenon 10-05-2004 05:56 PM

hmm, well, we'll think about it.

I won't add it within the next two weeks as we have a lot more different work to do, and each hack now, would make that work harder ;)


All times are GMT. The time now is 04:56 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01152 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete