Html & Show_motd
1 Attachment(s)
im trying to make a list but to show in motd
trying to display 10 tables each page how to do next button and previous button in html and check how much the pages 4 example :- like a current players list but in motd. i would be grateful if some1 would atttach a code here the list - |
Re: Html & Show_motd
It would only be possible if you had your page hosted on a web hosting. You can't construct such site with pagination in your plugin.
|
Re: Html & Show_motd
Motd does not support long code you will need to host your motd online and use redirect in motd.txt. If you want to get for example 20 results per page this all is done by php and sql. Else you can write everything one by one in html but to update something will take you mad. Ex: http://www.nozgaming.eu/motd/motd.html this is hosted motd.
|
Re: Html & Show_motd
Actually its possible
Yh ik motd dosent support more than 1000 chars or smthing thats why i want to show just 10 tables But i want to get how previous and next page will work if u could attach a clue |
Re: Html & Show_motd
Quote:
"Yh ik" wtf? Quote:
|
Re: Html & Show_motd
I found a way but ineed to use the menu to choose the page and then to show motd
Any way can u show me how its done by sql Yh ik = yeah iknow xd |
Re: Html & Show_motd
Quote:
I would use a link to call a PHP script (with GET parameters) which would then use PHPRcon to send the command to the server with the data required to do what you need to do. However, I'm not sure if showing a new MOTD will overwrite the current MOTD being shown. You might want to test that first. Quote:
|
Re: Html & Show_motd
Instead of rcon use some sqlx script in amx to write everything you need to db. Then query it with php. If hosted motd you will be able to put next and previous button. But you can also make some dropdown content or smth similar. Just google everything you need there are tons of tutorials. It is better that you do it yourself, so you will understand better. And I think no one will do it for you because it requires lot work. And adding next and previous button is last thing to do as you gonna make max results per page when displaying data from db. IF YOU ARE HOSTING CHEAP NO WAY TO MAKE WORK RCON.
|
Re: Html & Show_motd
I solved it by choosing the page in the menu, btw i dont have a host.. That why i was asking.4 that
|
Re: Html & Show_motd
You should never get support here
Code:
|
| All times are GMT -4. The time now is 17:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.