Mike Posted March 23, 2013 Report Share Posted March 23, 2013 Looks like you have sorted yours... can you or someone tell me how you got the page numbers horizontal instead of vertical? Have a look at mine... they are underneath each other... what do I have to change to get the page numbers next to each other? http://bbn-airways.co.uk/index.php/Screenshots Quote Link to comment Share on other sites More sharing options...
Mike Posted March 23, 2013 Report Share Posted March 23, 2013 Never mind... that bit of css code done the trick... just needed to reload the site after clearing temp internet files Cheers Eddie Quote Link to comment Share on other sites More sharing options...
Kapitan Posted April 10, 2013 Report Share Posted April 10, 2013 The pagination dont work for me , do i need do anything else like editing some css or add some extra files .Sorry im not good with php just folow every single idea here and still dont work. http://enterairva.pl/index.php/Screenshots Quote Link to comment Share on other sites More sharing options...
HighFlyerPL185 Posted April 11, 2013 Report Share Posted April 11, 2013 What are you doing to call it? I believe it should already come as a package and work, but you need a certain amount of images for it to paginate. It's not rocket science. In core/modules/Screenshots open that single .php file and find this line: $size = 8; I have it set to eight on my site, you can set it to whatever you want. You can see it working on my site: http://flyeurova.com...php/Screenshots Make sure you call it in the screenshots_viewer.tpl file, but I believe it should be already there. $navigation calls the pagination from the file, while the $echo displays it on the site in a formatted output. $navigation = $pagination->create_links(); echo $navigation; P.S - There's plenty of tutorials on PHP out there, and it's of great benefit to read them through. Luckily, many great guys involved with phpVMS make life easier for everyone by releasing great addons Quote Link to comment Share on other sites More sharing options...
Kapitan Posted April 12, 2013 Report Share Posted April 12, 2013 What are you doing to call it? I believe it should already come as a package and work, but you need a certain amount of images for it to paginate. It's not rocket science. In core/modules/Screenshots open that single .php file and find this line: $size = 8; I have it set to eight on my site, you can set it to whatever you want. You can see it working on my site: http://flyeurova.com...php/Screenshots Make sure you call it in the screenshots_viewer.tpl file, but I believe it should be already there. $navigation calls the pagination from the file, while the $echo displays it on the site in a formatted output. $navigation = $pagination->create_links(); echo $navigation; P.S - There's plenty of tutorials on PHP out there, and it's of great benefit to read them through. Luckily, many great guys involved with phpVMS make life easier for everyone by releasing great addons I do again fresh install and no still dont work. No idea what im doing wrong. Quote Link to comment Share on other sites More sharing options...
Kapitan Posted April 27, 2013 Report Share Posted April 27, 2013 Im ready to pay for instalation just please help me Quote Link to comment Share on other sites More sharing options...
FlyingMachine Posted May 16, 2013 Report Share Posted May 16, 2013 the code to display ranodm pictures doesn't work <?php Screenshots::show_random_screenshot(); ?> /core/classes/TemplateSet.class.php on line 248 Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted May 21, 2013 Report Share Posted May 21, 2013 Yeah actually it does. I think yours is identical to mine <?php Screenshots::show_random_screenshot(); ?> Not sure why yours don't work to be honest. Mine worked right out of the box. Have you tried any of the other available functions to verify that they work or not? Here is a quick little something I dug up too if all else fails http://forum.phpvms.net/topic/8357-can-someone-help-me-with-sp-screenshot-mod/ Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted May 22, 2013 Author Administrators Report Share Posted May 22, 2013 the code to display ranodm pictures doesn't work <?php Screenshots::show_random_screenshot(); ?> /core/classes/TemplateSet.class.php on line 248 Without seeing the rest of your error I would guess that the template files are not present for the module - That is usually the cause of a template class error. Quote Link to comment Share on other sites More sharing options...
Remington Box Posted May 30, 2013 Report Share Posted May 30, 2013 my phpvms database is prefex_phpvms_spark... does that matter as far as this working? I know there are screenshots in the queue, but it says there are none to approve. Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted June 10, 2013 Author Administrators Report Share Posted June 10, 2013 my phpvms database is prefex_phpvms_spark... does that matter as far as this working? I know there are screenshots in the queue, but it says there are none to approve. You may have an older version that has some spots that the database table name is hardcoded in the queries. Check these two files to see if you need to update your version; https://github.com/D...sData.class.php https://github.com/D...Screenshots.php Quote Link to comment Share on other sites More sharing options...
flyalaska Posted July 28, 2013 Report Share Posted July 28, 2013 Is there anyway to limit the size of the screenshot? So there is no pictures bigger than 900px wide for example. Quote Link to comment Share on other sites More sharing options...
mseiwald Posted July 28, 2013 Report Share Posted July 28, 2013 Add style="max-width:900px" to the <img> tag Quote Link to comment Share on other sites More sharing options...
flyalaska Posted July 28, 2013 Report Share Posted July 28, 2013 Add style="max-width:900px" to the <img> tag ty Quote Link to comment Share on other sites More sharing options...
Curshad Posted August 3, 2013 Report Share Posted August 3, 2013 Hi, any know how i could fix this code error i'm getting? this is the code for that let me know if somethings wrong.... <td colspan="2" align="right" { $next = ScreenshotsData::get_next($screenshot->id); if(!$next) {echo ' '; } else { ?> <form method="post" action="<?php echo SITE_URL ?>/index.php/Screenshots" > <input type="hidden" name="action" value="last" /> <input type="hidden" name="id" value="<?php echo $next->id; ?>" /> <input class="mail" type="submit" value="Next Screenshot"> </form> <?php ?> } </td> Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted August 3, 2013 Author Administrators Report Share Posted August 3, 2013 Take a look at the file I think you are refering to here -> https://github.com/D...shots_large.tpl Specifically lines 33 through 49 Looks like your template has gotten out of sorts somehow, possibly on upload or editing. Quote Link to comment Share on other sites More sharing options...
Curshad Posted August 4, 2013 Report Share Posted August 4, 2013 Take a look at the file I think you are refering to here -> https://github.com/D...shots_large.tpl Specifically lines 33 through 49 Looks like your template has gotten out of sorts somehow, possibly on upload or editing. thanks Quote Link to comment Share on other sites More sharing options...
Jimmy_S Posted August 18, 2013 Report Share Posted August 18, 2013 Looks like you have sorted yours... can you or someone tell me how you got the page numbers horizontal instead of vertical? Have a look at mine... they are underneath each other... what do I have to change to get the page numbers next to each other? Mike, you didn't say how you fixed this. I see that most folks have the page numbers horizontal but I don't know how to fix this. Can someone tell me how to make the pages numbers horizontal? Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted August 19, 2013 Author Administrators Report Share Posted August 19, 2013 There are a number of css options folks have come up with to address the pagination styling. The most basic is here -> http://forum.phpvms.net/topic/3289-screenshotcenter-20/page__st__160#entry58052 Quote Link to comment Share on other sites More sharing options...
DylanNoes Posted October 6, 2013 Report Share Posted October 6, 2013 Hello guys: I I have a problem, I uploaded your fantastic plugin by following the loading instructions, but I get the following error: Notice: The template file "/ members / neosairva / / core / templates / Screenshots / screenshots_viewer.tpl" does not exist in / members / neosairva / core / classes / TemplateSet.class.php on line 248 I checked 3 times and the module is present in the exact location .. any ideas? thank you very much, dylan Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted October 6, 2013 Author Administrators Report Share Posted October 6, 2013 It looks like you are using the latest version that uses the new template extension structure. You need to download the last release for the old style under the releases tab at GitHub. Quote Link to comment Share on other sites More sharing options...
Mike Posted November 3, 2013 Report Share Posted November 3, 2013 Morning, Is there any way that the number of images that appear can be increased? There are currently 2 rows of 4 but how to increase? Have tried editing files but it doesnt seem to work? Many Thanks Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted November 4, 2013 Author Administrators Report Share Posted November 4, 2013 You can adjust the table, or create your own layout for the screenshot layout by editing the screenshots_viewer.tpl file. To change the number of images available on each page you will need to adjust the $size attribute on line 47 (if it is not edited) of the Screenshots.php controller file. // how many records per page $size = 8; 1 Quote Link to comment Share on other sites More sharing options...
Mike Posted November 4, 2013 Report Share Posted November 4, 2013 Great that done it Many Thanks Just purchased the Charter Centre and Tours aswell the other day... very good addons Quote Link to comment Share on other sites More sharing options...
NadRush Posted November 24, 2013 Report Share Posted November 24, 2013 Hi, After migrating to the new server, I can't upload the image again , it says the image too big / not jpg . But its jpg and its 30 kb, Write permission already given , and i put it in the root UPDATE : I don't know how , but suddenly , it works now Thx, Regards, Quote Link to comment Share on other sites More sharing options...
in2tech Posted December 12, 2013 Report Share Posted December 12, 2013 My link is not working to get to the Screen Shot Center! I have this: <h3>Screen Shots</h3> <div class="box"> <?php echo url('/Screenshots'); ?> <?php Screenshots::show_newest_screenshot(); ?> </div> And it is out putting the link only. And not a clickable item! BTW, the newest screen shot code is working, just not the submit screen shot code! It's out putting this below. If I copy and paste the link it takes me to the correct place! http://jacobslisting...php/Screenshots I temporarily fixed it with this below, and it works but I am wondering why the original code is not working for me? <a href="http://jacobslistings.com/va/index.php/Screenshots">Submit Screen Shot</a> Thanks for your help! Quote Link to comment Share on other sites More sharing options...
Angel Air Posted December 15, 2013 Report Share Posted December 15, 2013 Hi all, I have installed this all correctly but when i upload an image it uploads ok but it will not let me approve it in the approvals section any ideas? Quote Link to comment Share on other sites More sharing options...
Ariel Posted January 8, 2014 Report Share Posted January 8, 2014 I dont see a thread for v3.0 so i suppose i will post here I keep getting this error message when trying to access the Screenshot Center Notice: The template file "/home/vdeltaor/public_html//core/templates/Screenshots/screenshots_viewer.tpl" doesn't exist in/home/vdeltaor/public_html/core/classes/TemplateSet.class.php on line 248 The template file stated in the error message is there. I have installed everything in the correct place and have re installed the module but nothing seems to work...any help? Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted January 8, 2014 Author Administrators Report Share Posted January 8, 2014 Most likely you need the 2.0 release that can be found here -> https://github.com/DavidJClark/phpVMS-ScreenShotCenter/releases It is a file extension issue between versions -> http://forum.phpvms.net/topic/18860-i-have-a-xxxxxxtpl-file-not-found-error/ 1 Quote Link to comment Share on other sites More sharing options...
Ariel Posted January 9, 2014 Report Share Posted January 9, 2014 Most likely you need the 2.0 release that can be found here -> https://github.com/D...Center/releases It is a file extension issue between versions -> http://forum.phpvms....ot-found-error/ That did the trick! Thank you!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.