Wie versprochen, veröffentliche ich das modifizierte CSS Gallery Theme von OS Designer. Das Theme wurde so angepasst, dass man schnell und einfach ein eigenes Flash-Game-Portal realisieren kann.
Auf der Startseite werden die neuesten Spiele angezeigt. Die Anzahl kann über das Adminmenü eingestellt werden. Zudem wurden Kategorie-Links unter dem Menü eingefügt, damit gewünschte Spielekategorie schnell angewählt werden kann. Beim Klick auf ein Vorschaubild wird das entsprechende Spiel geladen und angezeigt. Unter jedem Spiel wird die Beschreibung incl. Thumbnail und einer Spielanleitung eingeblendet, falls vorhanden. Jedes Spiel kann von Besuchern bewertet und kommentiert werden.
AdSense-Optimierung
Zusätzlich dazu wurde das Theme für AdSense optimiert. Im Header des Themes kann ein 468x60px-Banner eingebunden werden. Sidebar fasst insgesamt sechs 125×125-Buttons und ein 250×250 Banner. Über jedem Spiel kann ein Banner angezeigt werden. Hier kann eine 728x90px große Anzeige eingeblendet werden, so auch unter dem Spiel. Ein weiterer 468x60px Banner kann unter der Spielbeschreibung platziert werden.
Jeder kann selbst entscheiden, welche Bannerplätze er nun verwenden möchte. Der Bannercode muss in folgenden Dateien eingefügt werden:
- ad_header.php – Code für den Header Banner
- ad_overgame.php – Code für den Banner über einem Spiel
- ad_undergame.php – Code für den Banner unter einem Spiel
- ad_under_description.php – Code für den Banner unter der Spielbeschreibung
- ad_blogtab.php – Code für den Banner in der Sidebar
- ad_125.php – Codes für die sechs 125×125 Banner in der Sidebar
Benötigte Plugins
Damit das Theme einwandfrei funktioniert werden insgesamt 3 Plugins benötigt:
WP-PostRatings Einrichten
Nach der Installation von WP-PostRatings muss das Plugin im Adminmenü konfiguriert werden. Dazu klickt man auf „Ratings“ > „Rating Options“. Hier können beliebige Rating-Bilder ausgewählt werden. Unter „Show Loading Image With Text“ sollte „No“ ausgewählt werden. Die Einstellungen mit „Save Changes“ speichern.
Jetzt unter „Ratings“ > „Ratings Templates“ folgendes einfügen:
- Ratings Vote Text:
<span>%RATINGS_USERS% Votes, Rating: %RATINGS_AVERAGE%</span>%RATINGS_IMAGES_VOTE% - Ratings Voted Text:
<span>%RATINGS_USERS% Votes, Rating: %RATINGS_AVERAGE%</span>%RATINGS_IMAGES% - Ratings No Permission Text:
<span>Login to Rate it!</span>%RATINGS_IMAGES% - Ratings None:
<span>Not Rated!</span>%RATINGS_IMAGES_VOTE%
Das war’s!! Jetzt ist das Theme für den Einsatz bereit!
Viel Spaß damit!
English
As promised, here is the modified CSS Gallery Theme by OS Designer. The theme was optimized that you can quickly and easily make your own flash game portal. There are no other modifications necessary.
The start page shows the latest games. The number of shown games can be adjusted from the WordPress admin panel. When you click on a post, the game will be loaded and displayed. There are a thumbnail, a description and instructions how to play under each game. Each game can be rated and commented by visitors.
AdSense optimization
In addition, the theme has been optimized for AdSense. In the header you can place a 468x60px banner. There are six buttons 125×125 and a 250x250px banner at the sidebar. Over and under every game you can place an ad banner. Another 468x60px banner can be placed under the description of a game. You can put your banner code in the following files: ad_header.php, ad_overgame.php, ad_undergame.php, ad_under_description.php, ad_blogtab.php, ad_125.php
Needed Plugins
You need to have this 3 plugins installed in order to run this theme:
Setting up WP-PostRatings
- WP-PostRatings – Activate the plugin.
- To fit your post rating with our layout, go to: WP-Admin > Ratings > Rating Options
- Select any rating style.
- Set NO for Show Loading Image With Text option.
- You have to change Ratings Templates Variables from the same option page, follow the next instruction please.
WP-PostRatings – Ratings Templates Variables Changes:
Remove the default Ratings Templates Variables, except the last one and replace these code.
- Ratings Vote Text:
<span>%RATINGS_USERS% Votes, Rating: %RATINGS_AVERAGE%</span>%RATINGS_IMAGES_VOTE% - Ratings Voted Text:
<span>%RATINGS_USERS% Votes, Rating: %RATINGS_AVERAGE%</span>%RATINGS_IMAGES% - Ratings No Permission Text:
<span>Login to Rate it!</span>%RATINGS_IMAGES% - Ratings None:
<span>Not Rated!</span>%RATINGS_IMAGES_VOTE%
perfect thank you.
nitely.net/arcade for live demo
Hi Başar Özkal,
your new myarcade games portal is looking nice 😉
Great Plugin and great support.
my http://www.talkgrounds.com/ using this plugin.
need litle touch though.
thank you very much Geronimo 🙂
hI, I edit another theme, Magadine, but i can´t put the thumbnails correct, can you help me?
If you want i cant send you de modifiqued magadine
bye!;)
my web is http://wigax.com/
thanks!!
the thumbs is correct now;)
Hi,
The search results are not showing description,ratings or url. Please help.
Hi David,
thx for reporting. I’ve fixed this bug. Please downlaod the theme again.
Greets
thanks Daniel !
Hey Geronimo where can i get your theme ?
[…] download the example theme CSS Gallery to see how it’s […]
hi basar.
its modified inevo themes
you can get it at wordpress
thanks man
Hi,
Sorry for all the questions but could you tell me how to add a login box to the top tabber.php box. I need login on my site. Thanks for all your help.
My ratings are not working.
Hello
I installled CSS Gallery with myarcadeblog as well
Now the I have a error with the WP-PostRatings like this :
Plugin could not be activated because it triggered a fatal error.
Fatal error: Class ‚WP_Widget‘ not found in /home2/oscplanc/public_html/playcoolflashgames/wp-content/plugins/wp-postratings/wp-postratings.php on line 1066
Some help could be appreciated.
Thanks!
Hi mundodigital,
that’s strange. Try to reinstall WP-PostRatings.
Hi
I forgot tell you that I don`t make any change yet into template php files for wp-postratings configuration .. must I do this first ?
Hi
I updated wordpress to 2.8 and now I can install wp-postratings and I edited the wp-postratings config and Remove the default Ratings Templates Variables:
1. Ratings Vote Text:
%RATINGS_USERS% Votes, Rating: %RATINGS_AVERAGE%%RATINGS_IMAGES_VOTE%
2. Ratings Voted Text:
%RATINGS_USERS% Votes, Rating: %RATINGS_AVERAGE%%RATINGS_IMAGES%
3. Ratings No Permission Text:
Login to Rate it!%RATINGS_IMAGES%
4. Ratings None:
Not Rated!%RATINGS_IMAGES_VOTE%
5 . Highest Rated: (left blank)
except the last one:
6. Most Rated: %POST_TITLE% – %RATINGS_USERS% votes
I try to rate a game clickin in to a star to rating but I don’t see any rate .. is normal ?
Hi..
Can I know how to change the logo to my logo?
Thanks
Replace logo.gif in the theme/images with your own.
I tried replacing it with my logo.
But it appear as your logo again
Do you know whats wrong?
Even if i remove the logo.gif from the images, the logo will still appear in my website. Is it coded somewhere?
Thanks
Logo is not coded. You can open style.css and header.php and edit what you want.
Try to replace the logo and reload your site with CTRL+F5 (EU: STRG+F5)
Thanks. after ctrl F5 it shows up. thanks alot really.
Good support!
Recommended!