vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   A posticon request everyone would enjoy :D (https://vborg.vbsupport.ru/showthread.php?t=68164)

Dorign 08-09-2004 06:23 PM

A posticon request everyone would enjoy :D
 
I know everyone would find a use for this.. it might even be a simple code, but hey, for a dumby like me, well, let's just say I have no clue where you'd begin.

The request..

I'm sure everyone is a bit annoyed when their users don't pick a thread icon. Let's face it, when people don't pick an icon, it doesn't add that "random" flavor to your forumdisplay page(s). So, I thought of a solution.

Instead of the "no icon" choice picking the default icon1 image, how about "no icon" runs a "choose random icon" script? That way, there's still variety in thread icons, and if users don't like it when their icon randomly ends up as one they don't like, it'll encourage them to start picking their thread icon. Kill two birds with one stone. ;)

Can anyone do this?

nexialys 08-09-2004 06:39 PM

this would be easier to have a javascript to verify if a posticon is choosen and not post the topic until one is selected... (same script as empty title)

Dorign 08-09-2004 07:30 PM

Yes, but then that would annoy my users. :ninja:

Dorign 08-10-2004 12:18 AM

Come now, I know I'm not the only one who'd be interested in this. :)

Dorign 08-10-2004 04:14 PM

*tear*

Dorign 08-10-2004 08:05 PM

Okay man, I'll settle for that javascript trick.. how's it done?

Dorign 08-12-2004 04:32 AM

I'll give someone 5 bucks for this script via paypal. :lol:
I mean, it can't be too hard to script. Hell, it can even be less complex. The page loads with an icon already randomly selected. :D

C'mon, prease? :classic:

Giveit2u43 08-12-2004 01:21 PM

1 Attachment(s)
place the attached file in your images/icons folder.

then in vbulletin options > Thread Display Options (showthread) > Show Default Post Icon change it to:
Code:

images/icons/random.php
and voila ;)

Dorign 08-12-2004 07:31 PM

Oh man, sweet, thanks! The only problem is, it selects the same "random icon" for every "No Icon" on the page. That's okay though, it's still cool. Thanks!

Giveit2u43 08-12-2004 11:46 PM

hmmmm.. It doesn`t do that on my test site.. Maybe I did a file hack too, I thought it was just the option change and the php file.. will check it out and get back to you.


All times are GMT. The time now is 11:22 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.01157 seconds
  • Memory Usage 1,725KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete