Jump to content

TAV1702

Members
  • Posts

    1954
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by TAV1702

  1. All though i have no pilots as my site is brand new, I have tested it over and over with my johnny tester account and so far it has worked flawless.
  2. TAV1702

    VAForum 2

    I had just come back here to look at your error message again. I was second guessing my link I gave you to use,.
  3. TAV1702

    VAForum 2

    Nice! So you got it going then?
  4. TAV1702

    VAForum 2

    Hey is your forums folder in core/templates or in your oceanblue skin? if the latter, for a test, try moving them to the core templates folder. Meanwhile, i am still researching
  5. TAV1702

    VAForum 2

    Now that is odd. Let me do some checking real quick. Ill be right back. Bya ll rights, that has to work. Not sure why it isn't. Ill go dig for a minute
  6. TAV1702

    VAForum 2

    yes, that needs to go in between the opening and closing head tags in the layout.php. <head> Your other css links here <? Template::Show('forums/forum_style.php'); ?> scripts not in footer go here </head> You get the idea I'm sure. I get carried away with examples sometimes. My apologies. That should get you in the ballpark. Once you get that in, your css alterations should work and your forum style should come to life. But we need to get that in the head first so we can go from there. **EDIT** And please pardon me for intruding, but I think your doc type and database may be using different encoding for special characters. I would start here <!DOCTYPE html> and <meta charset="utf-8" /> And check that verses your database. Exert retrieved from stackoverflow on 12/11/2016**Moderators** I know this part of the thread is not related to Toms and Dave's VA Forum. So please feel free to moderate if needed. No hard feelings either way. Just trying to help a fella out while I was at it already. Take care and happy holidays!
  7. Unless google comes out with a quick fix, here is a fix for an error you are, not a matter of if but when, going to see it. PLEASE RESEARCH THIS FIRST!!!!! DO NOT USE UNLESS YOU ARE SURE! I WILL NOT BE RESPONSIBLE FOR YOUR SECURITY OR WEBSITE. I am not a pro. I just read this on stackoverflow and it worked. line 42 reads: function ReCaptcha It needs to be : public function __construct to fix this: Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ReCaptcha has a deprecated constructor in C:\wamp\www\phpvms\core\lib\recaptcha\recaptchalib.php on line 42 That error is a result of running phpvms on php 7 and mysql 5.7 So far everything else is working. I bet a dime to a dozne doughnuts I install modules and it fizzles out like there is no tomorrow.
  8. Umm, that help request is from August of 2015. I think by now it is solved or he ditched the template or just moved on.
  9. Change the color of the links in the head section of layout.php. For some strange reason, "Lance Design" chose to embed link colors in the head instead of in the style sheet. So these inline styles are going to over ride anything that may be in the style sheet.
  10. TAV1702

    VAForum 2

    Please verify you have this snippet in the head of your website: <? Template::Show('forums/forum_style.php'); ?> If not, that is where your issue is at. I viewed your generated code and do not see the forum_style being called at all.
  11. TAV1702

    VAForum 2

    Yeah I cant see the forum. Any possibility you have a test account, non admin a guy can login with? Suffice to say, that is the only way I can even attempt to see what is going on. You either have css overriding your index or forum style. If I can't see the forum, i can't give a fair explanation to you but only a guess. Oh and you have an extra or missing </div> on your index page. I still have the ocean blue template. i may be able to look at mine and find it.
  12. TAV1702

    VAForum 2

    That will work. Sorry it took so long to reply. Something came up earlier and I had to leave home unexpectedly. And I just thought about it, I cant see your forum anyhow. I have to be logged in to see it and view css. Hmm. Let me think about his for a minute.
  13. Well, we are on the same thinking wave pattern I see. I was kind of curious over that myself. The email system is what has plagued me with a module I am working on as well. I wish you luck in figuring that one out. I'm sure if you do it will be spot on.
  14. TAV1702

    VAForum 2

    Yeah that took a little effort (edit category links). let me go look real quick and see if I can tell what I did to make it happen. I know it was the padding or margin stuff in the forum style. I am all but 99% certain. It took me a fair amount of time to get it just right the way I wanted it. As far as the no effect from changing the css that is odd. is there any chance at all that you have some embedded style added to your layout.php header section like the Lance skin for example? If so, that will over ride it for certain. I'm just guessing at that. any css you chance in the forum index should work. Let me go dig that info up. Ill be back in a short. By the way, any way I can get a link to your site? If it is still being worked on and you don't want it public, feel free to PM me a link. I kind of want to go and use my firebug on your site to look at css.
  15. Spot on! Very nice. Ty very much for another great addition to phpVMS! I added you to my credits page with your brand image.
  16. Coming at ya right now bud. Give me say 5 minutes. Got to run my dog out for a quick moment
  17. Oh ok. I see no approval is needed for leave of absence. You are viewing the Leave of Absence Request for pilot The pilot's leave started on the following date: 12/09/2016 The pilot's leave will end on the following date:12/31/2016 The pilot has specified the following reason for submitting the LoA request: I left the reason off for a very good reason. it might have had a swear word in it. lol
  18. Everything works flawless and looks good except, when I applied for LoA as a test pilot, I logged out, cleared cookies and cache and then logged back in as admin. I went in and viewed said pilots request and hit delete. After delete, it said are you sure. i clicked delete and nothing happens it just stays on the very same page. goes nowhere and pilot is not deleted from the database. If I click no, that I do not want to delete the request, it also stays on that page and does nothing. that's as far as it will go. I did test all errors that were testable and all worked such as already exists, date is to long etc etc. I am going to go back now and try to approve a pilots leave of absence. I will come report back if approval is successful. On a side note, all database connection errors are gone as well as deprecated code errors.
  19. Im on it bud. Got a very fresh install of phpvms ready to roll.
  20. I have been fiddling with this for a couple hours and no such love. I fixed this issue once before in another project I was working on like it was nothing. Now, it is nothing lol as I can not fix it. I am going to loose sleep over it now. I am REAL OCD like that. I sounded a couple of alarms for help from people I know. Hopefully someone will chime in and help us all out.
  21. Ah ok sounds good man. I look forward to the update when it comes out. Keep up the good work man. It is much appreciated.
  22. The code was correct, the function was removed from the cms. I had no idea until i got to looking. I was trying to make a function run that no longer existed.
  23. The connections are deprecated. mysql_query(): is now mysqli_query() But that gets a tad complicated. You can rewrite it ass PDO. Also everything to go with that connect is deprecated as well. mysql_num_rows() is now mysqli_num_rows() Same thing with the connection error. Etc etc. Basically this module needs help. The code it runs on was deprecated. "This extension was deprecated in PHP 5.5.0, and it was removed in PHP 7.0.0. Instead, the MySQLi or PDO_MySQL extension should be used." php Manual I'm working on it but I suck at this stuff. I fixed this issue once on another module and not sure how I did it now. Check this out too mysqli_query is now used instead of mysql_query. You can also use PDO::query or MySQLi::query. You can see the documentation here
  24. Is this Parkhos module? If it is, the best option you have to get his support is to go to Parkho Addons thread in this forum and post there. As for the module, I do not have it installed so I can not help sadly enough. What I can tell you is this, if it say to add that line to local.config, go to core/local.config and copy that line and just paste it right in just like the other lines. I know easy for me to say right? But it is just that easy. Take this for example: Config::Set('CHECK_RELEASE_VERSION', true); Config::Set('CHECK_BETA_VERSION', false); That is in my local.config file. To include the line he says to include, simply paste it in and it will look like this: Config::Set('CHECK_RELEASE_VERSION', true); Config::Set('CHECK_BETA_VERSION', false); define ('REALBOOKING', X); And save your file. Literally that is all there is to it. Sorry i could not help any more.
  25. TAV1702

    VAForum 2

    Ok give me about 10 minutes or so and I'll post right back. I got to take my dogs out real quick. I'll dig the code out for you. What I did was edit my forum style to make it reflect my wants and needs. My forum_style looks like this: <style type="text/css"> /* Forum */ .forum_signature{margin:0 0 10px 0;} .forum_sighr{height:1px;background:#666;width:60%;margin:5px 0;} .forum_img{max-width:90%;} .row0{background:#ffffff;} .row1{background:#ffffff;} .cat{position:relative; margin:10px 5px 10px 5px; background-color: #0c2577;} .cat h4{padding-top: 10px; padding-right: 9px; padding-bottom: 5px; padding-left: 9px; color: #ffffff; font-weight: normal; font-size: 1.3em;} .cat table, .forumtable{border:1px solid #999;} .editcat {position:absolute;top:10px;right:10px; font-color:#ffffff;} a.editcat:link { color:#FFF; text-decoration:none; font-weight:normal; } a.editcat:visited { color: #FFF; text-decoration:none; font-weight:normal; } a.editcat:hover { color: #d9534f; text-decoration:underline; font-weight:normal; } a.editcat:active { color: #FFF; text-decoration:none; font-weight:normal; } </style> Now take my word for what it is worth please, I am not a pro. I get lucky from time to time and things just work out. That being said, I am not sure my styling is correct, it just works for me. As for the Icons in front of the category names, you can not add random images to the category names so each one has it's own icon like mine. If you try, each category will end up with the same Icon. Please see below to find out how I did it. **DISCLAIMER** DO NOT ATTEMPT THIS IF YOU ARE UNSURE OF WHAT YOU ARE DOING!! I can not be held liable for any damages you may do to your database. IF YOU DO NOT HAVE FONT AWESOME INTEGRATED IN TO YOUR SITE, STOP NOW! YOU CAN NOT MOVE FORWARD. Backup your database Make sure your database backup is good. If you are not sure, back it up again! Get the idea? Great lets move on. Get in your database via phpMyAdmin and look for your forum categories. Edit each individual forum category row Name for example category name My Forum. Before the name, go to font awesome, if you have it integrated in to your site (if not, stop right now and go no further), and drop in the font awesome code and a space before the category name. For example: <i class="fa fa-bullhorn" aria-hidden="true"></i> Announcements Save the row and enjoy. Now don't go try to edit your category name from within the forum now as you won't like the results. You will need to edit it just like you just did until you get rid of the code. then you can go back to editing categories by your forum it self then. Here is a couple screenshots of the database action. http://prntscr.com/dgyiaj http://prntscr.com/dgyioi **EDIT** And I forgot, I also changed the css in my forum_index.php the style in it is <style> /* unvisited link */ a:link { color: #232323; } /* visited link */ a:visited { color: #232323; } /* mouse over link */ a:hover { color: #d9534f; } /* selected link */ a:active { color: #232323; } </style> Now obviously those colors reflect my sites needs. Your will need to be altered to reflect your site color needs.
×
×
  • Create New...