View Full Version : ScreenShots module?
FRAiD
04-05-2007, 09:20 PM
Is there a module for screenshots? To take them and auto resize etc?
The Geek
04-06-2007, 02:01 PM
You can use the custom fields module and set up some thumbnail to original custom fields :)
FRAiD
04-18-2007, 03:13 AM
Ok, I am trying to make one.
I titled it Screenshots and used custom_fields.php, but what templates do I need to cache?
FRAiD
04-18-2007, 05:28 AM
Ok, I got it to work but I'm only able to add one screenshot. Is there a way to add more? Or am I going to have to make multiple custom fields? Because if that's the case, it won't look good having 3 seperate boxes down a line each holding one image.
Also, what about the template cache thing? Or should I not worry about that?
The Geek
04-18-2007, 04:04 PM
You would need a custom field for each screenshot. You chouldnt need to cache any additional templates if you are using the default custom field module
FRAiD
04-20-2007, 07:17 PM
But is there anyway to add multiple screenshots in one module?
I don't want to have like 3 individual boxes running down the side of the review each containing just one image (which is what I think you're suggesting). I'd prefer to have one box with as many images as I'd like to add.
The Geek
04-20-2007, 10:18 PM
Sure, just edit the custom fields module in your set and tick which fields to show.
FRAiD
04-21-2007, 02:39 AM
Sure, just edit the custom fields module in your set and tick which fields to show.
Emm... I'm not sure I follow you :o
The Geek
04-21-2007, 08:25 AM
Edit the module set. Then click on the Custom Fields module. There you can adjust its settings accordingly (i.e. select WHICH custom fields to show)
FRAiD
04-21-2007, 08:54 AM
Ok, now I see what you're saying, but I'm having two problems:
I put in four different "Thumnail to original upload" custom field modules (for multiple screenshots). Went into my module set and made sure they were all ticked "yes" to display. And when I try and post a review I'm only given the option to post 1 screenshot. There are not four "browse" buttons to select an image from your computer for upload. There is only one.
(I tried to go back and edit the image hoping that it'd add another image, but it just replaces the first image I uploaded [which is what I expected it to do anyway])
Is there a way to let four of these work?
Also, is there a way to put some of the stuff on the same line?
i.e. I have a custom field single text entry module that only takes up about 12 characters (for both the title and the text that would be entered in). But it seperates the two by dropping it down below the title of the custom field entry. Is there a way to fix this?
Oh, and by the way, are attachments (screenshots) stored in a folder in the geek directory? Or are they a part of the SQL database?
The Geek
04-21-2007, 12:24 PM
You will need to edit the type and make sure that all of the custom fields you want to include are ticked.
If you want the items on the same line, I would suggest making new templates and using the settings in the custom field module to point to the new templates.
The attachments are stored in the file system under geek/gars/images/u/s/e/r/i/d or geek/gars/images if you are in safemode.
FRAiD
04-21-2007, 03:35 PM
Oh ok. Yah that fixed the ability to attach 4 screenshots now.
I had no problem making a new template and modifying the code to do what I wanted it to, but I don't see where to assign the template for each custom field module I created though.
Like if I go to the Admincp > Gars > Custom Fields > then click on a name of one of my custom modules (or press edit) I don't see a place to enter in which template to pull from.
Am I looking in the wrong spot? (I know I could just edit the default templates, but I'm not sure I want to do that as I might not want some of my modules to look like that)
Thanks for all your help thus far though Geek (suffering through all of my n00b questions and all).
The Geek
04-21-2007, 04:44 PM
Try editing the custom fields module:
admincp->gars->module sets->modulesetyouwanttoedit->Custom Fields :)
FRAiD
04-21-2007, 08:15 PM
Hmmm, I don't think it worked for me. Perhaps I altered the wrong table? I'll try it a little later. This is the code I used though:
<fieldset class="fieldset">
<div align="left">
<legend>$vbphrase[gars_custom_title]</legend>
</div>
<div align="right">
<div style="padding:$stylevar[formspacer]px">$vbphrase[gars_custom_desc]
<input type="text" name="gars$field[id]" id="GARS_custom_$field[id]" value="$fieldvalue" maxlength="$field[maxlength]" class="bginput" size="$field[size]" tabindex="1"/>
</div>
</div>
</fieldset>
Would that work the way I wanted it to?
The Geek
04-21-2007, 11:44 PM
No, thats the edit field. You want to create a new template and put it in the modules settings (admincp->gars->module sets->modulesetname->custom fields). I dont think you are editing the custom fields modules settings.
The Geek
04-22-2007, 12:32 AM
There is a screenshot on this page (http://www.thevbgeek.com/geeki/index.php/GARS:Module_Set_Administration#Editing_a_modules_p roperties) that shows the settings for the custom fields module. Make sure that you are editing it!
FRAiD
04-22-2007, 07:55 AM
Ok, I think I've figured it out.
The author reviews still show up in the member spot though even if I turn the option for them to show up off. (perhaps a bug?)
Also, is there a way to remove a "screenshot" without going to the browse button and just selecting a new image? It seems like the only way to get rid of an image is to replace it with another one.
The Geek
04-22-2007, 08:47 AM
Link is for an invalid thread.
Most modules use the gars_mod_container forum for padding and such. Check that out
FRAiD
04-22-2007, 09:16 PM
Ok, what about the screenshot thing? Is there no way to remove them once they're selected?
The Geek
04-22-2007, 10:09 PM
hmmm.... THere isnt directly no... Not really been asked for before, though it would make sense! The only real option that I can think of until I can introduce a feature is to edit the gars_custom_values table to remove it!
FRAiD
04-22-2007, 11:50 PM
Well, I'll just make sure my reviewers know that a screenshot can't be removed. Perhaps you'll introduce it into a later version?
Oh, and one other question... have you ever tried nesting 300 x 250 adsense ads within a review? (like within the actual content?) I'd prefer to put them right in there with the content as opposed to putting the ad in a seperate module.
The Geek
04-23-2007, 07:43 AM
I suppose it should be fine to do. Just put the code in the GARS_pb template :)
Yes, I will look into adding the delete feature for the future :)
FRAiD
04-24-2007, 06:00 AM
Ok, I think I've figured it out.
The author reviews still show up in the member spot though even if I turn the option for them to show up off. (perhaps a bug?)
Also, is there a way to remove a "screenshot" without going to the browse button and just selecting a new image? It seems like the only way to get rid of an image is to replace it with another one.
Here (http://www.xboxlivearcade.com/forum/showthread.php?p=16&styleid=5) is a link to a one so you can see.
The author review is counted in the member review spot even though that it is turned off.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.