Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
V3Arcade - Scrollable news / more news Details »»
V3Arcade - Scrollable news / more news
Version: 1.00, by frankenberrie frankenberrie is offline
Developer Last Online: Jun 2009 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 10-28-2004 Last Update: Never Installs: 17
 
No support by the author.

[MOD] V3Arcade - Scrollable news / more news

This little mod will make your news window thats on the main Arcade screen / Arcade category screen scrollable.

Files to modify
Arcade.php

Templates to modify:
arcade_main
arcade_main_category (if your using the category mod)



**** DONT FORGET TO BACK UP BEFORE U MODIFY ****


Here what to do:
Open your admincp ==> Styles & Templates ==> Style Manager ==> Edit templates

Open up the arcade_main template
FIND:
Code:
$arcadenews
Add this directly above that:
Code:
<div style="height:125px; width:100%; overflow:auto;">
If you have the category mod installed:

Open the arcade_main_category template
FIND:
Code:
$arcadenews
Add this directly above that:
Code:
<div style="height:125px; width:100%; overflow:auto;">

NOTE: CHANGE :
Code:
height:125px to your liking
Now to make more news available for viewing. Remember, depending on how much news you set to view, this can have an effect on your sites performance.

Open up Arcade.php
FIND: (if you are using the category mod, this like will be in there twice)
Code:
$newsresult = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "gamenews ORDER BY datestamp DESC LIMIT 4");
SET Number of new items to show by changing this:
Code:
LIMIT 4
Hope this can be usefull. Just click install if you use.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 10-29-2004, 05:43 PM
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Location: UK
Posts: 842
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<div style="height:125px; width:100%; overflow:auto;"> you say above?

Do you mean before?

My line looks like:
$welcomeblock
<td class="alt1" width="40%" valign="top">$arcadenews</td>
</tr>
</table></td>

Laters
Reply With Quote
  #3  
Old 12-17-2004, 11:00 PM
docvader's Avatar
docvader docvader is offline
 
Join Date: Dec 2002
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mine kind of looks like that too, . I tried to input this, but can't figure out how to make it work with this code. Any ideas?
Reply With Quote
  #4  
Old 12-22-2004, 12:28 AM
Sooner95 Sooner95 is offline
 
Join Date: Apr 2003
Location: I don't know
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

same here... anyone???
Reply With Quote
  #5  
Old 12-27-2004, 06:53 PM
BTPRex BTPRex is offline
 
Join Date: Jan 2004
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same Problem here :S
Reply With Quote
  #6  
Old 01-14-2005, 11:54 AM
Psybadek Psybadek is offline
 
Join Date: Jul 2002
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works fine for me the way described.
Reply With Quote
  #7  
Old 02-28-2005, 04:01 AM
sim tech sim tech is offline
 
Join Date: Jan 2005
Location: Georgia
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Realist
<div style="height:125px; width:100%; overflow:auto;"> you say above?

Do you mean before?

My line looks like:
$welcomeblock
<td class="alt1" width="40%" valign="top">$arcadenews</td>
</tr>
</table></td>

Laters
I am runing 3.0.7 and inserted it as follows:


PHP Code:
            $welcomeblock
</td
          <
td class="alt1" width="40%" valign="top">
<
div style="height:125px; width:100%; overflow:auto;"
$arcadenews
</td
        </
tr
      </
table></td
Note that I added a </td> just below $welcomeblock And moved the </td> from the end of the mod line to below the $arcadenews.

I don't have the catagory mod, so I skipped that part and went directly to modding arcade.php (I set mine to DESC LIMIT 48)... I had to change the mod slightly 'cause the original one caused the frames that the scroll bar was in to triple in size.

Thanks for the mod - I've been wanting to do that but did not know how! Hope I didn't step on any toes by changing mine a bit... (php newbie here)
Reply With Quote
  #8  
Old 02-28-2005, 05:11 AM
sim tech sim tech is offline
 
Join Date: Jan 2005
Location: Georgia
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

modding
Quote:
height:125px to your liking
Still causes the frams size to go haywire though I had mine increased to 140 until I checked it on another pc and saw that it screwed up the frame size.

This mod gets 5 stars from me though! Sweet!
Reply With Quote
  #9  
Old 03-14-2005, 03:06 PM
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
Posts: 893
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sim tech
I am runing 3.0.7 and inserted it as follows:


PHP Code:
            $welcomeblock
</td
          <
td class="alt1" width="40%" valign="top">
<
div style="height:125px; width:100%; overflow:auto;"
$arcadenews
</td
        </
tr
      </
table></td
Note that I added a </td> just below $welcomeblock And moved the </td> from the end of the mod line to below the $arcadenews.

I don't have the catagory mod, so I skipped that part and went directly to modding arcade.php (I set mine to DESC LIMIT 48)... I had to change the mod slightly 'cause the original one caused the frames that the scroll bar was in to triple in size.

Thanks for the mod - I've been wanting to do that but did not know how! Hope I didn't step on any toes by changing mine a bit... (php newbie here)
Mine worked using this method...
Reply With Quote
  #10  
Old 04-04-2005, 03:17 PM
YLP1 YLP1 is offline
 
Join Date: Aug 2004
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is an awesome mod..... I would love to have this on my portal latest topics versus an auto scrolling. Could the code that is used on this work for the latest topics?
Reply With Quote
Reply


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:36 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.06220 seconds
  • Memory Usage 2,310KB
  • Queries Executed 23 (?)
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
  • (7)bbcode_code
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_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