vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Extra Field when posting New Thread (https://vborg.vbsupport.ru/showthread.php?t=326236)

MarkFL 03-27-2018 04:12 AM

1 Attachment(s)
The color of the individual links can be changed with the StyleVars in the Style Manager, and in the attached update I have added a StyleVar for the font size (affects both), which I set to default at 125%.

Tomorrow, I will move all inline CSS to a .css template and create class selectors. :)

MarkFL 03-27-2018 12:58 PM

1 Attachment(s)
Latest update: all CSS has been moved to templates. :)

MarkFL 03-27-2018 03:41 PM

1 Attachment(s)
I've added some javascript (tested in Firefox and Chrome) which makes the error messages more user friendly when invalid input is given.

BasilFawlty 03-27-2018 06:33 PM

Quote:

Originally Posted by MarkFL (Post 2593789)
I've added some javascript (tested in Firefox and Chrome) which makes the error messages more user friendly when invalid input is given.

Seems to be working great.

--------------- Added [DATE]1522205160[/DATE] at [TIME]1522205160[/TIME] ---------------

I spoke too soon. Found a weird bug - will PM details with video.

MarkFL 03-28-2018 11:18 AM

1 Attachment(s)
I found the issue, and resolved it...here is the update...

BasilFawlty 03-28-2018 12:54 PM

Adding the “not private script” seems to have done it!

MarkFL 03-28-2018 01:05 PM

Actually, what I think what did it was moving the global declaration of the $post array inside the if block, but I left the "not private script" condition as an extra, since it does not need to run there (even though the forum condition would likely keep it from running anyway). :)

BasilFawlty 03-28-2018 01:38 PM

I see, that makes sense. Speaking of link mods, something I see on another forum I frequent that I think would make a very cool mod (if it doest already exist). This would be mod that would work for most any link to show a preview of the linked item instead of just a flat link. Sort of like when you post a news article to your messaging app and it generates a small preview image of the article. Maybe this sort of mod already exists, but if it didn't - it would be a great update to VB to provide for any links to generate a preview if possible. Here's a picture of an example from that other forum. (not a VB forum but rather a home brew forum)

http://www.britishcarforum.com/bcf/i...view_link.jpeg

MarkFL 03-28-2018 02:01 PM

It reminds me of an IPS forum. :)

BasilFawlty 03-28-2018 03:54 PM

Quote:

Originally Posted by MarkFL (Post 2593806)
It reminds me of an IPS forum. :)

It's a forum I belong to for Jaguars cars. :cool: (They coded it from scratch so it's proprietary)

--------------- Added [DATE]1522337036[/DATE] at [TIME]1522337036[/TIME] ---------------

Quote:

Originally Posted by MarkFL (Post 2593801)
I found the issue, and resolved it...here is the update...

Thanks a million - BTW, I just made a donation to your Math site!


All times are GMT. The time now is 09:48 PM.

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.01606 seconds
  • Memory Usage 1,727KB
  • 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)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