The Arcive of vBulletin Modifications Site. |
|
V3Arcade - Scrollable news / more news Details »»
|
|||||||||||||||||||||||||||
|
V3Arcade - Scrollable news / more news
Developer Last Online: Jun 2009
[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 Code:
<div style="height:125px; width:100%; overflow:auto;"> Open the arcade_main_category template FIND: Code:
$arcadenews Code:
<div style="height:125px; width:100%; overflow:auto;"> NOTE: CHANGE : Code:
height:125px to your liking 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");
Code:
LIMIT 4 Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
<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 |
|
#3
|
||||
|
||||
|
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?
|
|
#4
|
|||
|
|||
|
same here... anyone???
|
|
#5
|
|||
|
|||
|
Same Problem here :S
|
|
#6
|
|||
|
|||
|
It works fine for me the way described.
|
|
#7
|
|||
|
|||
|
Quote:
PHP Code:
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) |
|
#8
|
|||
|
|||
|
modding
Quote:
This mod gets 5 stars from me though! Sweet! |
|
#9
|
||||
|
||||
|
Quote:
|
|
#10
|
|||
|
|||
|
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?
|
![]() |
|
|