Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions

Reply
 
Thread Tools Display Modes
  #11  
Old 11-07-2011, 07:38 AM
Kış Kış is offline
 
Join Date: Aug 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi. The code is this :


PHP Code:
<!-- show latest active threads -->
<
table cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<
tbody>
<
tr>
<
td colspan="2">
<
a href="search.php?do=getnew">Latest Active Threads</a>
</
td>
</
tr>
</
tbody>
<
tbody>
<
tr>
 
<
td width="100%">
 
<
div>
<
script type="text/javascript" src="external.php?type=js"></script
<
script language="" type="text/javascript">
<!--
for (var 
x in threads)
{
document.writeln("<a href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> (Posted By: "+threads[x].poster+")<br />");
}
//-->
</script></div>
 
</
td>
</
tr>
</
tbody>
<!-- 
show latest active threads -->
</
table>
<
br /> 
I am sorry. i have no html/css knowledge.
What changes should i make here before pasting the code to html page in another domain?

I tried adding domain name of the forum just before the showthread.php and search.php
but no result.
Reply With Quote
  #12  
Old 11-07-2011, 05:34 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Post a link to the html page so we can see what the problem is.
Reply With Quote
  #13  
Old 11-11-2011, 03:52 PM
Kış Kış is offline
 
Join Date: Aug 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Miss Lynne.
Thanks for info.
we have successfully added it.
But it worked in a html file which is in the same domain as forum.
What changes should we do in order to make it work in an html page which is in another domain ?
Reply With Quote
  #14  
Old 11-11-2011, 05:23 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That code, assuming you added your forum url into the javascript, should work on another site.

(And it's Miss Lynne. )
Reply With Quote
  #15  
Old 11-14-2011, 07:06 PM
Kış Kış is offline
 
Join Date: Aug 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi. But I already told Miss Lynne

Miss Lynne, in this url , https://www.vbulletin.com/forum/show...=1#post1618826

it explains how to show threads from only spesific forums.
But the issue is that you cant use parent forum ID.
you have to use subforum id's as well. If you use parent forum id only, Then no threads from its child forum will not show up.

and one more thing. You have a CSS school. So you would know.
Can you tell me how to increase text size?
And how to increase space between thread names ?
Reply With Quote
  #16  
Old 11-14-2011, 08:59 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the third post in that article I linked you to, it says how to add several forumids. So, enter in the child forums, not the parent forum.

I don't have a CSS site. That is just a link to a site that I find to be very, very helpful!
Reply With Quote
  #17  
Old 11-15-2011, 07:32 AM
Kış Kış is offline
 
Join Date: Aug 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm. I am sorry then. But you are right. It really is very very very helpful.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:51 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.22629 seconds
  • Memory Usage 2,224KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete