vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - Latest Posts and Newest Members on Forum Home (https://vborg.vbsupport.ru/showthread.php?t=231098)

ArbStar 12-25-2009 04:07 PM

I found many mistakes while translating the mod to Arabic language.
First of all you should write ( & ) as ( & ) in any HTML/XHTML code
in the line #71, you have to replace it with this:
Code:

        $latest_posts .= '<tr><td>'.$count.'</td><td><a href="showthread.php?t='.$post['threadid'].'&amp;goto=newpost#'.$post['lastpostid'].'">'.substr($post['title'],0,30).'...</a></td><td><a href="member.php?u='.$post['lastposterid'].'">'.$post['lastposter'].'</a></td><td><a href="showthread.php?t='.$post['threadid'].'"><img src="images/buttons/collapse_40b.png" /></a></td></tr>';
Another simple mistake in the line #67, ( <div width="100%" ...... )
the default width value for the div tag is 100%, so you don't have to write width="100%", although attribute width cannot be used for the div tag, and more silly errors on line #67, which is in the table tag, you should use quotation mark in the border, cellspacing, and cellpadding attributes.

Last mistake is that you forgot to close the <b> tag on line #67..
PHP Code:

<b>Newest Members</td

------

Again thanks for the great mod, and I really appreciate your effort on making it.
Sorry if my post isn't well organized because I was reading your code and writing the mistakes I find here :D..
Hope you pay more attention on XHTML while making ur next mod :).

Regards,
Ibrahim Moh'd

ArbStar 12-25-2009 04:13 PM

hehe, another mistake

Code:

<div align="center"><tr><td align="center">
You started the <tr> & <td> tags without starting the <table> tag..

ArbStar 12-25-2009 04:15 PM

& you should put alt attribute to all <img> tags

Edit:

Line #12 & #22:
Quote:

<!- DesiHearts Latest Posts -->
Quote:

<!-/ DesiHearts Latest Posts -->
you should use:
Code:

<!--
instead of:
Code:

<!-

ArbStar 12-25-2009 04:55 PM

1 Attachment(s)
Fixed all mistakes & translated to Arabic.

Arabic XML attached.

Click here to check my forums XHTML validation after fixes. ;)

hoangyb 12-25-2009 05:20 PM

how to show it above forum home and under navbar???

abbasbsp 12-25-2009 05:32 PM

wow .... nice mod ..
How to show it forum home above to navbar and marquee .... ???

Toxic2 12-25-2009 05:53 PM

@ ArbStar

Quote:

Fixed all mistakes & translated to Arabic.

Arabic XML attached.

Click here to check my forums XHTML validation after fixes.
If the original Contributor had not posted the Mod, With or without Mistakes, You would NOT have had anything to Translate to Arabic. As a Helping hand, you could have Posted a Corrected English Version. It Just seems like it would have been a decent thing to do.

i guess you were having to much fun pointing out mistakes. And It does say BETA which is prone to have Mistakes.

fourat 12-25-2009 05:59 PM

Thank you so much

valerie555 12-25-2009 06:10 PM

Is it possible to put Latest Statistics under GCBOS please
thanks foe help

ArbStar 12-25-2009 06:30 PM

Quote:

Originally Posted by Toxic2 (Post 1938113)
@ ArbStar



If the original Contributor had not posted the Mod, With or without Mistakes, You would NOT have had anything to Translate to Arabic. As a Helping hand, you could have Posted a Corrected English Version. It Just seems like it would have been a decent thing to do.

i guess you were having to much fun pointing out mistakes. And It does say BETA which is prone to have Mistakes.

I know its in BETA stage, I just wanted to help fixing things by showing the errors. :)

The fixed English version is not my job, its the coder job and I have no right to publish it without his permission.


All times are GMT. The time now is 02:33 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.01315 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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