oldguysgaming

+Clients
  • Content count

    21
  • Joined

  • Last visited


About oldguysgaming

  • Rank
    core_member_rank_44

Profile Information

  • Gender Male

oldguysgaming's Activity

  1. oldguysgaming added a post in a topic: Parsing entries from multiple databases to front page possible?   

    Managed to achieve the format I wanted. Created a global badge to display in the listing template then parsed the entries category above the image.
     
     

     
    ~oldguy :)
     
     
     
  2. oldguysgaming added a post in a topic: IP.Content Database Form Creation   

    If I understand what you're trying to achieve, you would have to create a custom database listing template (and possibly a custom database display template) that would only show the application form. For the fields to appear on the listing template, select "Yes" in the "show field in listing templates" option and format how the fields appear in the template to your desire. In a custom template, the "recently updated" etc. can all be removed. :)
  3. oldguysgaming added a post in a topic: Parsing entries from multiple databases to front page possible?   

    Toyed around with the code a bit and found that removing the if statements yield the same results, which tell me they do nothing...
     
    I think I may have found the category id for each category by viewing the source page on each category listing (but could be wrong).
    News cat_id= 1 Reviews cat_id= 11 Videos cat_id= 12 Still trying to get this to work. Suggestions??
  4. oldguysgaming added a post in a topic: Parsing entries from multiple databases to front page possible?   

    Here's the code I'm currently using which works (sort of) using "if else statements".
    <if test={$data['category']['category_name']} == "articles"> <span><img src='{$this->settings['img_url']}/news_badge.png' style='position: relative; float: right; margin: -10px -10px 0px 0px;'</span> <else /> <if test={$data['category']['category_name']} == "videos"> <span><img src='{$this->settings['img_url']}/video_badge.png' style='position: relative; float: right; margin: -10px -10px 0px 0px;'</span> <else /> <if test={$data['category']['category_name']} == "reviews"> <span><img src='{$this->settings['img_url']}/review_badge.png' style='position: relative; float: right; margin: -10px -10px 0px 0px;'</span> <else /> </if> I'm able to display each image but to every article regardless of category but I think i'm on the right track. Do I use ['category_id'] in place of ['category_name']? If so, where do I find the value to 'category_id'?
     
    As you can tell the three categories are "Articles", "Videos", and "Reviews". I feel like I'm close but am missing something.
  5. oldguysgaming added a post in a topic: Parsing entries from multiple databases to front page possible?   

    So I re-thought the system and figured using the category listing might be a little easier to manipulate than trying to parse data from separate databases.
     
    What i'm trying to achieve is displaying a category specific image related to each entry on the listing page.
     
    Let's say for example category 1, 2, and 3 each have their own badge and I want their respective badges to display on the front page next to their entries. Could this be achieved by applying an "if statement" in the listing template within the article position (i.e. <If category 1 then image, etc.> ) or would I have to write a short php script to call the image from the image's folder location specific to each category?
     
    Again, thanks in advance.
     
    ~oldguy
  6. oldguysgaming added a post in a topic: Parsing entries from multiple databases to front page possible?   

    I'm attempting to set up a 3 database front page system that will feed entries by date submitted. I have created my front page and 3 databases which are setup properly with custom templates for each database styled the way I want but having trouble with entries from 2 databases appear in the front page listing without parsing the entire database. I want each entry from each database to appear on the front page in the order they are submitted.
     
    Tried setting up seperate categories in Articles but wasn't satisfied with the results so decided to go with multiple databases instead.
     
    Stuck on this one. Any help would be greatly appreciated.
     
    Thanks in advance,
     
    ~oldguy :smile:
  7. oldguysgaming added a post in a topic: Custom Field "Field name" Indention Fix   

    I explained that here...
     
     
    ...and I am aware of the minor cost for flexibility. Altering strong only effected the font size in the other areas and didn't effect it's position. I noticed the change to the characters mostly in the Community Calendar as it uses strong for the dates. Other noted areas are the numerical value for "members following topic", topic and reply count on the community index, formatting a character/characters to "Bold" in the ckeditor, and Blog "author" just as a few examples.
     
    I searched the template without success but if you are aware of it's location and could point it out to me, I would be more than happy to alter it to see the difference.
  8. oldguysgaming added a post in a topic: Custom Fields in Article View Template Indented, Custom Upload Field Only Shows URL   

    I realize this is an older topic and may have been resolved by now but I came across a fix for your issue while working on a custom project of my own.  
    Information can be found here >>> http://community.invisionpower.com/topic/397714-custom-field-field-name-indention-fix/ .
     
    I tried to duplicate to the best of my ability the same end result you were looking for and noticed that using the (WYSIWYG) for your Attachments to be more versatile than using the Attachments (single file upload). By naming your custom field "Attachment" but using (WYSIWYG) as the "Field type" you are able to upload .pdf files via a separate custom Attachments field setting the Field type to "Attachments".
     
    Here are a few screens.
     
    15px font size...
      20px font size...   I hope this helps resolve your issue if you haven't already found a fix or alternate method.   ~oldguy :smile:
  9. oldguysgaming added a post in a topic: Custom Field "Field name" Indention Fix   

    I was attempting to use IP.Content for a specific project and ran across an issue with the "Field name" auto indenting making the created entry less than desirable to look at and poorly formatted. I did a little research on the source page and found that the "Field name" had an interesting style attached to it.
    <strong style='width: 20%; display: inline-block; font-weight: bold; text-align: right; vertical-align: top; margin-right: 10px;'>Field name:</strong> So I set out to explore the wonderful .css  in the skin sets and templates in search of the culprit responsible for causing this atrocity. I had at least a keyword to look for and with a little luck it appeared before my eyes.
     
    Found in CSS >> ipb_styles.css under "Core Element Styles" I saw the keyword I was searching for... strong !
    h3, strong{ font-weight: bold; } Now it didn't have the same interesting style as the source code but I knew with a little manipulation I could get it to react the way I wanted to produce a more desirable outcome to the format.
     
    I removed strong from the line and placed it by itself to begin manipulating it trying many different styling methods getting ever so close to the desired end result and after a few hours of editing/checking/reediting, I found a solution that could be further edited to fit the needs of others looking to achieve a similar formatted effect.
    strong { width: 100%!important; font: normal 15px helvetica, arial, sans-serif; font-weight: bold; text-align: left!important; padding: 30px 0px 5px 0px; } Setting the width to 100%!important moved the content from the inputted field underneath the "Field name" title which was a lot better than the mess that was there before especially when ending with more than one line of text. The "Field name" was still indented at this point so I went further. 
     
    Defining the font allowed for increased flexibility with the font size which does come with a trade-off considering the other areas of the board that uses strong . I found setting the font size to 15px was a happy medium that didn't cause a noticeable effect on those areas.
     
    Setting the text-align value to left!important removed the indented effect on the "Field name" which is what I was ultimately trying to achieve. Padding added an additional level of custom styling to the field.
     
    These settings are skin set specific so if you want the same result on multiple skins, all skins ipb_styles.css bits needs editing.
     
    Here are a few different end results to see how it looks on a live board and on different skins. The first has a 15px font setting...

     
    ...and on a different skin using a 20px font setting...

     
    In the end I achieved the look and function I wanted so I call it a win in my books. I hope that this information may be useful to other IP.Content users looking to add additional custom fields for article/database entries.
     
    ~oldguy :smile:
     
     
     
  10. oldguysgaming added a post in a topic: Usergroup emblems   

    Yeah I completely misunderstood that one, lol.

    I found this for you. Should be what you are looking for.

    - old guy
  11. oldguysgaming added a post in a topic: Usergroup emblems   

    If you mean user group images such as badges that are used in profile....

    Go into FTP program of your choice and upload the image you wish to use in "team_icons". Path should be.....
    public_html > public > style_extra > team_icons

    Go into ACP, manage member groups, edit member group you wish to add image to, fill in " Group Icon Image " with the proper directory path such as public/style_extra/team_icons/*image_name*.png , click "Complete Edit".

    I uploaded custom badges that I created for staff and admin and plan to do the same for non-staff groups as well.

    Hope this helps! :)

    - old guy
  12. oldguysgaming added a post in a topic: (e32) Custom Sidebar Blocks   

    [quote name='(e) Eric' timestamp='1341848369' post='2285094']
    I'm not sure I understand. Custom Sidebar Blocks only work on the sidebar. There is no notion of a "category block" in this app. Perhaps you meant to post in one of the mods that moves blocks to various places on your board? In any case, good luck! :smile:

    System > Applications and Modules > Manage Hooks > e32 Custom Sidebar Blocks > Edit Hook > Files > File # > The Hook 'ID' > Categories > then select the position of the template hook.

    I currently have the "Video of the Week" positioned below the shoutbox but above all other forums like so....



    Like I said in previous post concerning multiple blocks, all blocks position together, either all as sidebar blocks or all as category blocks.

    Anyhow, thanks for the response eric! :smile:

About Me

Status Feed