"Instagram" for Arcturus Emulator.
Hi,
I just wanted to release something small you can use for you CMS when if you are using Arcturus Emulator.
When you take a picture and click "publish" like this
https://i.gyazo.com/9ebe9ad63f2981a9...db9efd6988.png
The image will be stored in the table "camera_web".
you can use this query on any page in your CMS to get a nice "instagram".
PHP Code:
<?php $query = mysql_query('Select `users`.`username`, `camera_web`.`url` from `camera_web` left join `users` on `users`.`id` = `camera_web`.`user_id` order by `camera_web`.`id` desc limit 50'); while($row = mysql_fetch_array($query)){ echo '<b>'.$row['username'].'</b><br><img src="'.$row['url'].'" valign="middle" /><b><hr></b> <b>'.$row['user_id'].'</b> <i>'.$row['description'].'</i><br />'; } ?>
I didn't want to publish the whole .php file because it won't fit your skin.
However, this is the result :)
https://i.gyazo.com/8e5c7b8495415716...b91d43b59b.png
You get the name and the image, pretty simple but still pretty nice.
Re: "Instagram" for Arcturus Emulator.
Liked it! Actually Chocolatey also integrates the Camera with Arcturus.
But this script it's like funny. Maybe on next release improve it design :)
Re: "Instagram" for Arcturus Emulator.
I coded a gallery system when I was using Comet that let users comment and like specific pictures, as well as use a specific picture as their profile picture on the embedded social networking system in the CMS.
This could be expanded so much more!
Re: "Instagram" for Arcturus Emulator.
Quote:
Originally Posted by
Jonteh
I coded a gallery system when I was using Comet that let users comment and like specific pictures, as well as use a specific picture as their profile picture on the embedded social networking system in the CMS.
This could be expanded so much more!
Yes I will make it possible to comment the picture and I'll update with the new script soon.
Re: "Instagram" for Arcturus Emulator.
Still using mysql? Try to use mysqli or PDO instead of the deprecated mysql :#
But I like it, I think this will help some hotels. ;)
Re: "Instagram" for Arcturus Emulator.
Quote:
Originally Posted by
kbj
Still using mysql? Try to use mysqli or PDO instead of the deprecated mysql :#
But I like it, I think this will help some hotels. ;)
Good point, stupid me. I'll switch to mysqli.
Re: "Instagram" for Arcturus Emulator.
Quote:
Originally Posted by
kbj
Still using mysql? Try to use mysqli or PDO instead of the deprecated mysql :#
But I like it, I think this will help some hotels. ;)
His CMS is coded using mysql_ - it's a hassle to redo a whole CMS, definitely if you've not been coding for very long.
Re: "Instagram" for Arcturus Emulator.
Quote:
Originally Posted by
Jonteh
His CMS is coded using mysql_ - it's a hassle to redo a whole CMS, definitely if you've not been coding for very long.
No one told him to re-do his whole CMS. You can still code a page in mysqli_ if you're using mysql on your CMS.
Just a few adjustments.
ONT: It does not look like "Instagram" make a comment section and it will be great!
Re: "Instagram" for Arcturus Emulator.
Quote:
Originally Posted by
Mackors
No one told him to re-do his whole CMS. You can still code a page in mysqli_ if you're using mysql on your CMS.
Just a few adjustments.
ONT: It does not look like "Instagram" make a comment section and it will be great!
A few adjustments? Like a whole new DB connection where one is already established? How about no.
Re: "Instagram" for Arcturus Emulator.
I love the idea, but the design is dreadful.
Re: "Instagram" for Arcturus Emulator.
Quote:
Originally Posted by
Zoxq
I love the idea, but the design is dreadful.
Lucky for your incapable of reading ass, it comes with no design. This is to be implemented into your choice of CMS theme/skin.
Re: "Instagram" for Arcturus Emulator.
Yes, it is just a script. However I am working on comments and likes at the moment, it would be cool if you could also have a description on your image, of how to make a descripiton? it needs to be trough the CMS I guess.
Re: "Instagram" for Arcturus Emulator.
Very great this can be improved many. thanks :ott:
Re: "Instagram" for Arcturus Emulator.
For those interested in what this could be developed into, here's something I did with the camera system:
https://i.imgur.com/cfkHgxH.png
Re: "Instagram" for Arcturus Emulator.
Quote:
Originally Posted by
Jonteh
Looks real cool, but the box is honestly too big.