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:
[game=1234]Game[/game]
[interview=1234]Interview[/interview]
[article=1234]Article[/article]
[review=1234]Review[/review]
[company=1234]Company[/company] (To search for all games of a company)
[releaseYear=1989]Year[/releaseYear] (To search for all games of a year)
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:
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?
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:
[game=1234]Game[/game]
[interview=1234]Interview[/interview]
[article=1234]Article[/article]
[review=1234]Review[/review]
[company=1234]Company[/company]
(To search for all games of a company)[releaseYear=1989]Year[/releaseYear]
(To search for all games of a year)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: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