-
Posts
1954 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by TAV1702
-
I appreciate that Strider. I got to thinking about it, and if a guy is a member of 4 or 5 groups that little slot on the table is going to get full real fast no? The groups really is not a biggie to me looking back on things, I am more than happy with the module as it sits right now. Let me ponder the groups once more for a few minutes. I might just do a quick comment out of it and leave the code for a later go at it maybe.
-
Yeah I'll go take a look. I hacked it in to a module earlier today but that is exactly what it is is a hack and I'm not proud of it but it works. lol. I'm going to run over and take a look at your module. it has to be better than what I got going on.
-
Yeah 5.6 really changed the game for us as far as phpVMS goes. Wait until php 7 and mySQL 5.7 ;-) It won't even install then...... yet. I am still digging though. I might have put a suppression somewhere in the files and I can't find it but that is not like me to do such a thing. I normally try to fix. I just compared my popup news module files to the default download zip file from David and it is all but basically the same minus copyright he gave me permission to not remove but "Move" earlier on in this forum.
-
Yep, exactly. I rarely to never suppress errors. I would rather fix. This was one I might not have fixed. Sorry i got caught up with household stuff. I am free now and am going to go look at code. Yeah, I have to agree. Many modules I went round and round with. Fixing strict errors only to be met with he $this error. Some of them I fought for days on end. I went to Stackoverflow thinking that there are so many gurus there surely there would be an answer, NOPE! 9 out of 10 replies were to suppress errors. **EDIT** Ok I checked all the files and I do not have suppression anywhere in popup news module. I apologize as I can not for the life of me think of what I did to make it work. If I can think of any reason at all I will gladly come back and post.
-
Hi Dj. I am always trying to learn something new and phpVMS is a great avenue to do so. I have been to college for this stuff but the school sucked so I really didn't learn anything much. I am not sure what code igniter or any of that other stuff is sadly enough. When I do go try to learn, people talk to me like I am a wizard already and know every vocabulary word and can get right to it when that in fact is not so at all. We are all beginners and some of the gurus forget that little fact. But I am always willing to learn. As far as this forum goes, I would love to continue it and get it whooped in to shape. I know there is a pay version here and it is very well worth the money being asked for it but my wallet just don't allow payware for a VA that I don't know if it will ever take off ( no pun intended ). It is $53 USD. Since this one is currently free, I fiddle with it here and there and see what I can do with it. If it gets to be to much for me, I'll just go grab phpBB3 or SMF or something like that. On a side note, it would be great if we could get this coded up like a regular forum almost and it be included in phpVMS as default. I can't imagine any VA out there running phpVMS that does not have a community board built in somehow. Have to run for now, my phone is ringing ... again. Take care and I'll catch up to you on the dev thread and we can see what is up maybe we can scare up some support and figure things out. Ray
-
Ill have to go look at what I did. I am not sure to be honest. I know the static was already there and when I removed it, one error went away and I got the dreaded $this error. I do have this working on my site. I might have just suppressed the error I'll go look and report back here in a short.
-
Thanks Web, I'll take a stab at this and let you know how ti goes man. I really appreciate the reply. **EDIT** Hey Web, that worked. thanks a million man. I really do appreciate your effort on that. One thing I did need to do was echo a couple line breaks as the images were horizontal and not vertical. Now All I have to do is get it in to a module so I can skin the page to match the rest of my site. Thanks gain. It is genuinely appreciated. I hope others can get some use out of this code snippet as well or maybe a badge preview feature could be worked in to the next release of phpVMS out of this code snippet. Got to run for now. Take care man. Ray
-
Ok gurus, I need your help once again. This time I am up to no good. Well, it is good so yeah. Anyhow, What I want to do is use some code to pull every image in a directory and display it on a page. I am attempting to do this using the glob function. Problem is, it is wanting to put index.php before my image directory and that breaks the images obviously. if I use the old ../ trick, the page goes blank. If I try to hard code the entire url (which i know is not right and not to do but for testing), same thing, page goes all blank. I have even tried to , even though I knew better, to use use the old php echo url thing and no such love, once again, blank page. Can you please take a peak at my code and let me know if anything stands out at you? <?php $files = glob("./lib/signatures/background/*.*"); for ($i=0; $i<count($files); $i++) { $image = $files[$i]; print $image ."<br />"; echo '<img src="'.$image .'" alt="Profile Badge" />'."<br /><br />"; } notice i added a single ./ ? That does NOT make the page go blank but instead it displays this: ./lib/signatures/background/background.png ./lib/signatures/background/background2.png Now If I am trying to reinvent the wheel, please feel free to call me out on it. I can take it. If there is an easier way to pull off what I want to do, by all means please do crack me up side the head and say listen up Ray. Maybe this little lesson will enrich us all in a new style of doing things or even a page to use on our va website. I think the one thing phpVMS has always lacked was the preview badge feature. It has aggravated me more than once. Esentially what this is supposed to do is, if a VA has a vast number of sig badges, say 20 for argument sake, well all we can do as pilots is pick a image name and save and hope we picked a good badge. With this code, there would be a link right next to where one chooses the badge while editing profile that would take them to a created page of my choice , badge_options or what ever and on this page, it would pull every image and display it in list fashion, non clickable. And once a pilot see the badge that he or she so chooses to use, they click the back to profile link and bingo bango, they choose their badge and all is well in the neighborhood. If I right click on where it says Profile Badge, it give me the entire url to my site including index.php in front of the directory. http://XXXXXXXX/XXXXXXXX/index.php/lib/signatures/background/background2.png Thanks for taking a look at my post. I appreciate it.
-
Thanks Keith! that was it. My first initial setting was wrong as you all had pointed out previously. I had to make the Title all caps. Now if I can just figure out groups. and i got to come up with an image. I don't like using a default Vatsim image. I thank you much for the help.
-
Thanks Keith. I'm going to go look at mine now and see if it matches. I really appreciate it.
-
Well, I reverted back to the default template for hubview and it all works, but I have no pilots in the pilots list and the pilot has recorded flights so the pilot should be there. If I remove the java script for the pagination, the pilot shows in the pilot roster for the hub. Also, the Vatsim ID or image still don't show. Any chance I can hassle one of you fellers in to taking a screenshot of your Profile field in your admin center? If you have extra fields you want to keep proprietary, feel free to blur. All I really need to see if Vatsim. IVAO would be ok to but not necessary. And is there any screenshots I can get of my php MyAdmin that will show you guys what fields I have and how they are setup?
-
Ok I'll give it a try. Thanks guys. (Quick update) Code change did not work. I'm thinking of backing up my file and dumping the default one in to try it out and see if it works. Maybe a tweak I made fudged something up. Unless you fellers got another idea. I know it is simple and right under my nose. lol Any idea on the groups part of it? Not that the groups really matter to me. I could comment that out, I just don't want to alter any code until it is working as should be. I don't think it is fair to an author of code when someone reports an issue when they altered code. Get it to work first, bust out the editor next. Thanks again guys, much appreciated. Ray
-
Spot on Dave. Works great on my end now.
-
That is in fact exactly what I have code wise. When I created my Vatsim field in the admin panel this is how I did it. I'm sure it is wrong but the field worked and my VID shows up on my registration form as well as shows up in the users public profile. http://prntscr.com/djhc4z
-
Thanks Keith. I'll go have a quick look at that and see what's up.
-
Yes, like that Keith. Maybe I set my profile fields up wrong int he admin panel? All these years of phpVMS and I have yet to ever setup a profile field. But here is no way I could set up groups wrong. :-D I did add an extra group just for the sake of doing so and called it something silly, and refreshed everything, cleared cache and all and nothing shows. Hi Strider, thanks for the reply bud. Here is a link http://raybrowell.com/vSunCountry/index.php/Hub/HubView/KMSP I know when you see it you will know the code is changed. I can assure you your code is 100% intact. All I did was put on some lipstick and mascara basically.
-
Yeah from the main website if I click the forum link from my android I get sent to a phishing scheme or something. I would screenshot it but I don't feel like clicking the link with my phone again. I go right to the fums and bypass the site now on my cellphone. **EDIT** Actually, I will get on Bluestacks on my PC and use chrome to visit the site and see if I get the android redirect. if so I will screenshot it. Ok I did get it to work on bluestacks. I was not taken to the scammer phishing scheme link this time. I was directed to the update page as was suggested by the OP. http://prntscr.com/dj6ke5 This is a result of clicking the Forum link from the main site phpVMS.net on android.
-
So after it all, i got everything working, except. How do you all get the groups and vatsim ID's and or images to show up? I have my vatsim id in my profile as well as added to groups and them two options don't show on the hubs page pilot list.
-
Well, it has been some time since I posted here. Why today? Glad you asked. In the other thread recently, David talked about lighting the fire in him to get the next version of phpVMS out. That is my Cue to make a simple but honest request. VAM (the other airline software) gives the admin the ability to add connecting flights with the same flight number. For example: The tragic flight TWA 800 left Kennedy with a stop in Paris and then continuing on to Rome as Flight 800. The airline I am working on does the same thing with many flights. For example, one flight goes from KMSP-PANC with a layover in KSEA before continuing on to PANC. The same flight number all the way. In VAM this is possible, if you try it with phpVMS, you get a this flight number already exists or something like that. I would need to try it again to get the exact message. This isn't a do or die feature but man would it sure be nice. As it is now, we have to make up flight numbers out of the thin blue air and that is just, meh ...... Unless someone has already figured out how to pull this off. I have not. If you have, care to share?
-
**EDIT** If you wish to see the pics an d follow along with my post, please view the images right to left. It attached them opposite how I posted about them. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- **Original Post** Well, I have been on this for a little bit now. I got it all skinned out. I need to tweak a few minor things. I will point them out in each pic I post. The first pic I posted you can see looks decent. Not professional but decent. I can't complain. And If you notice, I skinned the forum nav for my breadcrumbs too. The OCD in me could not handle the plain text. The next pic is the topic list. Notice the breadcrumbs? Also, notice the last post and the initial post dates? All posts were made this month, not in august. ;-) Yeah, that is my next fix right after I submit this post. Also, the post new topic button needs to be up top on the fum as well. On another VA I built 4 or 5 years ago. we had LOADS of topics and we had newbies not know how to post because they did not scroll down all the way to the bottom of the page to see the post new topic button. Do yeah, it needs moved or another added. The next image is the topic view. Yeah, my signature sucks, don't laugh! It is temporary. One thing I want to do is move the topic name over to the right above the post and place the date line right under it like it should be instead of the topic being over the top of my avatar. Also, I would love the avatar and user info not to push so far down. I have not looked to see if it has center enabled. If so, gone! Also notice below my user info it says contact me. I need to create a nice little button for that. I do not want to use my standard big blue button for that. Little css work and all will be well in the neighborhood. By the way that Contact me is a code snippet by someone on the forums here. I forget who bit it works pretty well. And that is not all. I didn't feel like snapping screenies of each page. I did not cut any corners. Every single page associated with the forum is skinned accordingly. It can be done with a little work. I just wish we had a decent WYSIWYG for it that actually worked. I think no matter which one we install, such as the newest ckeditor, it is not going to work due to the html and bbcode limitations in the VA Forum2. If any of you have one that works, please let us all know. We have no way to enlarge fonts, color fonts or nothing we need to be able to do forum wise. All in all, I do appreciate the work Dave (Simpilot) put in to bringing us this forum for phpVMS. I got to give props (how 80's was that???) to Tom for updating the forum and keeping it alive. Now only if V3 would be released. Take care boys and gents.
-
I never thought to look for white space. I am using notepad++ when I edit and save it on my pc. And thanks for the reply Dave. Much appreciated.
-
^^ What he said. I did get to messing around today with this just because I was bored and never have. I learned a quick lesson that I will share. If you have a local copy of phpVMS installed on your windows computer via a WAMP stack or similar, and I believe a windows server, you are going to get something like this. Reason, windows does not have this function. Fatal error: Call to undefined function money_format() So in order to fight this not so much of a problem, do we create a function of our own for the template file just in case? If on a WAMP or localhost we can simply comment out the line for testing reasons and building of a site. If this is going live on a Windows server, I don't think this function is going to work. In that case it is going to need a function of it's own to get around windows not having the money_format function. As I stated, I don't see this as a problem at all. Just a quick simple fix one way or the other and bingo bango it's back on track. Really nice template Eddie! I like it! As always, thanks for the share.
-
Im trying to package up a couple modules but on upload, I get not valid plugin, missing config file and it is clearly in the zip file. Anyone got a clue? I even went so far as to recreate one of Davids plugins and created a config file for it and it worked a treat. Back to the module I was working on, took and copied the config.txt and inserted all the new correct info int o it for the module I am working on, and I get invalid plugin.
-
<?php echo ''.round(TouchdownStatsData::airline_average('airline'), 0); ?>
-
Awesome man. Glad we got it figured out for you.