The Arcive of vBulletin Modifications Site. |
|
Project I'd like to do - Get the latest champs (etc) box onto favorites page Details »»
|
|||||||||||||||||||||||||||
|
Project I'd like to do - Get the latest champs (etc) box onto favorites page
Developer Last Online: Aug 2023
This is something I'd quite like to have a crack at, but looking at the code I can't work out how you;d do it. I have managed to move things about in the arcade code before so I'm not totally clueless, but I just cannot work out how you'd go about this.
Basically, the box that displays latest champs, random games, newest games, etc, that displays on the arcade home page - it does not display on the favorites page, (which is otherwise a very similar page in appearance), and I'd like to try and get it to do so. I'm not looking for someone to do this for me, but I wondered if anyone who grasps the arcade code might know what I should do. I can find the code that actually generates the boxes, but what i can't do is work out how I would make that code display on the favourites page. Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
I never thought of this but It would take me a while to figure it out .. but if it interests stangger5 he can explain it so you can do it ..he is a master with how this arcade ticks..
I am sure he will see this .. He has been busy with life and other. but I will speak to him.. Regards Hippy |
|
#3
|
|||
|
|||
|
Thanks Hippy, appreciate it.
It's just something I'd like to do, and I fancy the challenge of learning that aspect of the (often tricky) ibProarcade code.
|
|
#4
|
||||
|
||||
|
Let me see what I can come up with and I`ll let you know..
--------------- Added [DATE]1332024253[/DATE] at [TIME]1332024253[/TIME] --------------- Ok,,I have it done... Do you want the Arcade Announcements: to show on My Favorites page ?? You need to edit three files (Skins and mod_favorites) and get info from anther one(arcade).. Lets start small... Look at arcade.php file and find this: PHP Code:
Paste that code in the mod_favorites,, right before: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
|
#5
|
||||
|
||||
Like I said if anyone can do it is the man above..thanks stangger5 .. was a pretty good idea ... 2 thumbs up |
|
#6
|
|||
|
|||
|
Thanks for you great help with this, after quite a bit of trial and error I think it's working:
Attachment 137125 The only thing that doesn't work, is that on my modified arcade's main page I call the vBulletin bbcode parser (to parse smilies in the Latest Comments section). This gives a php error on the favourites page so I had to comment it out: PHP Fatal error: Call to a member function query_read_slave() on a non-object in /var/www/vhosts/bowlandcentral.com/httpdocs/testvb/includes/class_bbcode.php on line 258 Not really a major problem, but I'm intrigued as to why it doesn't work. |
| Благодарность от: | ||
| Gemma | ||
|
#7
|
||||
|
||||
|
Quote:
and was just testing to learn.. I figure something was out of order .. may play later.. as far as the error .. stangger will know best .. I dtill need my morning coffee
|
| Благодарность от: | ||
| Mark.B | ||
|
#8
|
||||
|
||||
|
Did you move the $lboard query that reads the comments ??
Then put $lboard in the output.. |
|
#9
|
|||
|
|||
|
Quote:
The comments do show up though, just the smilies don't parse. I shall have a further play around tonight, $lboard appears dozens of times within arcade.php so I need to work out which bit to copy over. |
![]() |
|
|