atari-legend / legacy

Source code for the legacy AtariLegend site (Still used for the CPANEL)
https://legacy.atarilegend.com/
GNU General Public License v3.0
3 stars 0 forks source link

Deploy latest development changes #758

Closed nguillaumin closed 3 years ago

nguillaumin commented 3 years ago

Hi @stgraveyard ,

I implemented new BBCode tags in CPANEL in preparation for the Laravel go-live. The page URLs will change, so we need to replace all BBCode tags like [url=https://www.atarilegend.com/games/games_detail.php?game_id=165] with new URLs like [url=http://www.atarilegend.com/games/165].

I have prepared a DB script for that so we can convert most content when we go live. However once we are live the CPANEL will still be used to write News, Interviews, Articles etc. I though it would make sense to implement new tags:

Both the current site and the Laravel one will replace the tags with the correct URLs (for example the old site will do /games/games_detail.php?game_id=<GAMEID> whereas Laravel will do /games/<GAMEID>. This way the CPANEL is compatible with both. I added corresponding buttons in the editors:

1

I also fixed some bugs in the BBCode Javascript in CPANEL, it was not closing the tags correctly.

Let me know what you think, and could you let the team now to use these tags rather than make the [url] one to make links pointing to the site content?

Thanks,

Nico

stgraveyard commented 3 years ago

Amazing! No worries about the team, I am the person adding reveiws, articles, interviews ... Keep me posted on this.