vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - 8WayRun.Com - Media Library (https://vborg.vbsupport.ru/showthread.php?t=240677)

Xencored 05-14-2010 09:56 PM

Quote:

Originally Posted by DragonByte Tech (Post 2037093)
Regardless, Hope that clears things up for you, Good luck with your mods =)

I soooo lol'd at that line :D

Jaske 05-15-2010 03:37 PM

1 Attachment(s)
Great mod but I have one question- which file would I edit to fix these jumbled words (see screenshot)? Thanks!!

your24hourstore 05-15-2010 05:43 PM

Quote:

Originally Posted by Jaske (Post 2037428)
Great mod but I have one question- which file would I edit to fix these jumbled words (see screenshot)? Thanks!!

those are not jumbled your browser is set to small
go to the bottom of IE and see that 100% make it 75%

or you could change your screen resolution from what you have to a higher resolution

dbigras 05-15-2010 06:09 PM

Quote:

Originally Posted by Jaxel (Post 2036917)
I think this has to do with the AJAX, please temporarily turn off AJAX on your forum and see if french characters start posting correctly.

Yep, you were right it works fine when I disable Ajax. But Ajax works fine everywhere else on my site and it's all french.

Now, what can be done?

Jaxel 05-15-2010 09:10 PM

Quote:

Originally Posted by dbigras (Post 2037495)
Yep, you were right it works fine when I disable Ajax. But Ajax works fine everywhere else on my site and it's all french.

Now, what can be done?

Okay... turn AJAX back on, post something in french, (you should see that the text is all messed up?)... Then hold CTRL and hit F5 on your keyboard. Then tell me if the text is still messed up after the refresh.

dbigras 05-16-2010 12:35 AM

Quote:

Originally Posted by Jaxel (Post 2037588)
Okay... turn AJAX back on, post something in french, (you should see that the text is all messed up?)... Then hold CTRL and hit F5 on your keyboard. Then tell me if the text is still messed up after the refresh.

Yep, still messed up after a CTRL-F5 refresh.

Jaxel 05-16-2010 03:58 AM

Quote:

Originally Posted by dbigras (Post 2037657)
Yep, still messed up after a CTRL-F5 refresh.

Hmm... then I will admit, I really don't know. I'm still pretty new to AJAX, so I'm using built in libraries. I'm posting foreign characters without any issues on my forum, so I guess I'm going to have to fallback to my default answer when it comes to these sort of problems...

I have specifically programmed this mod to assume the character set of your forum. So if you have a foreign language forum, and your forum is still set to non-unicode character sets, you will have issues. So I recommend you switch your language charset to UTF-8... it will probably speed up your forum too...

DragonByte Tech 05-16-2010 12:20 PM

1 Attachment(s)
Quote:

Originally Posted by Jaxel (Post 2037717)
Hmm... then I will admit, I really don't know. I'm still pretty new to AJAX, so I'm using built in libraries. I'm posting foreign characters without any issues on my forum, so I guess I'm going to have to fallback to my default answer when it comes to these sort of problems...

I have specifically programmed this mod to assume the character set of your forum. So if you have a foreign language forum, and your forum is still set to non-unicode character sets, you will have issues. So I recommend you switch your language charset to UTF-8... it will probably speed up your forum too...

Hey there, hope you're not too offended if we pop in here and resolve this. It just requires the use of PHP.urlencode(); :)

Without:
Attachment 117171

With:
Attachment 117172

I hope that this might help out your users. On a side note, perhaps a better mastery of programming before you criticise others work in future would be advisable. As before, feel free to give us a buzz if you're unsure how to apply this.


Fillip

Big-Pete 05-16-2010 01:40 PM

1 Attachment(s)
Love this mod, Just what I needed, Will be sending donation as this is superb!..

The only issue I have is with the CMS, If i use the BB code and place the media tag into an article in the cms i get a border appear around title in both the preview and the full page, how would i either adjust this border or remove it?? Any help will be greatly appreciated :)

Jaxel 05-16-2010 03:15 PM

Quote:

Originally Posted by DragonByte Tech (Post 2037885)
Hey there, hope you're not too offended if we pop in here and resolve this. It just requires the use of PHP.urlencode(); :)

I'm already using that...

Code:

if ($ajax)
{
        $message = convert_urlencoded_unicode($message);
}

I also personally feel that using checks like "function_exists()" is a big mistake. I think a program should either DEGRADE gracefully and silently without the user knowing, or FAIL as loud as possible. If you start using "function_exists()", the program doesn't degrade as it should, it instead FAILS, but it doesn't tell anybody it fails; no one knows it failed until things just don't work as it should. Error messages are there for a reason, to inform you that there was an error.


All times are GMT. The time now is 10:07 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.02302 seconds
  • Memory Usage 1,747KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (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