₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,324,999 members, 8,419,864 topics. Date: Thursday, 04 June 2026 at 04:56 AM

Toggle theme

Eugy45's Posts

Nairaland ForumEugy45's ProfileEugy45's Posts

1 2 3 4 5 6 (of 6 pages)

NYSCRe: NYSC 2018 Batch C Corps Members Thread by eugy45(m): 10:56pm On Nov 14, 2018
betty22:
Ilorin
So you'll be leaving tomorrow, right?
NYSCRe: NYSC 2018 Batch C Corps Members Thread by eugy45(m): 9:13pm On Nov 13, 2018
betty22:
where are you moving from
Enugu.. You?
NYSCRe: NYSC 2018 Batch C Corps Members Thread by eugy45(m): 4:22pm On Nov 13, 2018
betty22:
Any Abia Corper in d house?
Yaya
NYSCRe: NYSC 2018 Batch C Corps Members Thread by eugy45(m): 11:08am On Oct 17, 2018
hizzypearl:
bros how far, have you gotten a solution to this?
Not at all.. I'm tired of the whole issue.
But I don't think It's a school issue.. I think It's from nysc
NYSCRe: NYSC 2018 Batch C Corps Members Thread by eugy45(m): 9:32pm On Oct 16, 2018
How about we that are still getting this error "You cannot be registered. Your school has not fulfilled the mandatory document submission". Does it mean there's no hope?

Abi Is there going to be another registration for stream two?
ProgrammingRe: Cool Python Projects by eugy45(m): 3:40pm On Apr 09, 2017
greatface:
TODO LIST APP(WEB) AND OR QOUTATION APP(WEB). IMPLIMENT BASIC FUNCTIONS SUCH AS; DISPLAY, ADD, UPDATE, DELETE.

ASK QUESTIONS AS YOU GO.
Please what IDE do you use? I'm new to python. I'm a .NET developer, and I'm trying to setup django in sublime. How do I go about that? (Using Python )
ProgrammingRe: Opera Single Column View Overwriting Site Responsiveness by eugy45(m): 7:34am On Oct 17, 2016
Sir Please where and how did you add the handheld
Is it this way: <link rel="stylesheet" media="handheld" type="text/css" href="mystyle.css" />
I came across ur post and am having same Issue please help me.
jonezz:
Thanks people.
Read the link provided by blueyedgeek and got it solved.

I added media="handheld" and media="all" to my stylesheet.

Works great whether single column turned on or off.
ProgrammingRe: Asp.net Mvc4 Help!! by eugy45(op): 11:26am On Aug 24, 2016
Raypawer:
wao, feeling so glad, congratulations man, but wait, you should have a lot of people test the app, i saw some error that calls for your attention

1) you should have a date time picker for you profile update
2) your pdf's are not printing, it shows a blank pdf,
3) some error pages that i will attach (check the url to know where the error is from)
4) make sure you have an antiforgerytoken for all your post actions form view to controller
5) you shoul have an error page and stop showing yellow screen of death, the last photo uploaded is a sample error page of one of my apps
6) registration without accepting terms
7)error while trying to quote post
coolcreate an account twice with the same email address, my personal email(hope you still have it) you can delete the account with username as mouauconnect
9) create an account with username "mouauconnect" it should be reserved for admin or something..



i don't have much time i will go through it later,
Thanks alot..
Il catch the Errors..

I tried quoting that same post and it went through..

Why I havent removed Custom errors is so i could catch the exact errors, and fix it
Bh i think I could get rid of it nw.. I think im good to go!

Yeah! the Update Profile, Il work with the Date Picker.. am still trying to chip in ajax features..

Bh Thanks sha..Just Keep me posted for more errors
ProgrammingRe: Asp.net Mvc4 Help!! by eugy45(op): 12:59pm On Aug 18, 2016
Raypawer:
Have u lunched the site? will like to see it,
yeah
[url]mouauconnect.com[/url]
EventsRe: Michael Okpara Uni. Of Agric Umudike, SUG Cultural Day. Live (photos) by eugy45(m): 6:49pm On May 16, 2016
vicmela:
MOUAU SUG cultural day ongoing. Very colorful event.
dude please patronize what u have
put up ur posts at [url]mouauconnect.com[/url]
ProgrammingRe: Asp.net Mvc4 Help!! by eugy45(op): 10:24pm On Apr 15, 2016
Raypawer:
Oh.. first time am hearing this... hav you hosted it??

what did you use to optimize you app for mobile??

and what is the error saying, where is the error pointing to?

use debugger tool so you see where your code broke down..
Works nw.. Was 4rm my controller. Thanks
ProgrammingRe: Asp.net Mvc4 Help!! by eugy45(op): 8:18am On Apr 08, 2016
Raypawer:
so are you planning to leave all the post on the same page? well, that's not the issue, just lunch it first and let it start working, you can fix it later...
Av got this issue now. I can create a topic from P.c and some high android phones. But when i try posting from some smart phones it gives me a null reference and i cant even trace the error cos its coming from a phone.

What could be the problem?? I have all my html helpers in order
ProgrammingRe: Asp.net Mvc4 Help!! by eugy45(op): 9:40pm On Apr 05, 2016
Raypawer:
so are you planning to leave all the post on the same page? well, that's not the issue, just lunch it first and let it start working, you can fix it later...
No i stil used pagination bt it'll stress d user a bit, after making a comment ul start lookin 4 it

Mouauconnect.com thats the site, stil under test mode, u cn tell me my flaws
ProgrammingRe: Asp.net Mvc4 Help!! by eugy45(op): 12:31am On Apr 05, 2016
Raypawer:
At the Controller

Add reference to PagedList and PagedList.Mvc
===========

//here i added a nullabe parameter, int? which indicates the page number, nullable because the first page will not have page count
public ActionResult Index(Guid id, int ? page)
{
//here am returning list of topics from first to 20th topic cos a page should be 20 topics
return View(topics.ToList().ToPagedList(page ?? 1, 20));
}


//same with Post actions

[HttpPost, ActionName("index"wink]
[ValidateAntiForgeryToken]
public ActionResult PostIndex(Guid id, int? page, string search)
{
var topics = TopicList();
if (!string.IsNullOrEmpty(search))
{
topics = topics.Where(x => x.SubjectS_Id == id && x.TopicName.ToLower().Trim() == search.ToLower().Trim()).ToList();
return View(topics.ToPagedList(page ?? 1, 20));
}
else
{
topics = db.Topics.Where(x => x.SubjectS_Id == id).ToList();
return View(topics.ToPagedList(page ?? 1, 20));
}
}

At the View Leve, mine was Index View

first Add reference
@using PagedList;
@using PagedList.Mvc;
@model IPagedList<MyApp.Models.Topic>

then add this where you want to have the Page Count
@Html.PagedListPager(Model, page => Url.Action("Index", "topic", new { page }),
new PagedListRenderOptions() { Display = PagedListDisplayMode.IfNeeded, DisplayItemSliceAndTotal = true })
Thanks bro. though av done that bh not working yet.
bh dont bother il still get it fixed, even if not now, someother time. thats why i love the IT world.
Planning to host the site today, paid already with smarterasp. Still trying to upload it online
ProgrammingRe: Asp.net Mvc4 Help!! by eugy45(op): 7:20am On Apr 02, 2016
Raypawer:
i have written that code before sometime last year, will check it out.. just hold on
Alright Thank u
ProgrammingRe: Asp.net Mvc4 Help!! by eugy45(op): 9:23am On Apr 01, 2016
Raypawer:
What is the Logic you are using for Pagination? how many comments make up a page? if you are using PagedList as recommended earlier, try to append the page count to the Url..
12comments make up a page.
Am using pagination, tried tricking the page count to the url, not working
//return new RedirectResult(Url.Action("topics", "forum", new { id = id}) + "#" +
commentid, page = ...);
Cant mk reference to d current page
ProgrammingRe: Asp.net Mvc4 Help!! by eugy45(op): 2:47am On Mar 31, 2016
Raypawer:
Hope you are aware that the comment id is added to a specific position to the html, post your code at the controller level, i think i can come in from there cos you didn't mention that each post has a post id earlier..
It works now. I think it was all my fault, i 4got to add the anchor tag carryin the commentid in topics view.
But it doesnt work when d comments enter page 2. Dunno why
ProgrammingRe: Asp.net Mvc4 Help!! by eugy45(op): 10:38pm On Mar 30, 2016
Raypawer:
Hope you are aware that the comment id is added to a specific position to the html, post your code at the controller level, i think i can come in from there cos you didn't mention that each post has a post id earlier..
//Other codes are above here..........
var myquote = new ModQuote
{
UserId = WebSecurity.GetUserId(user),
PostId = model.PostId,
Comment = model.Comment,
ReplyId = model.ReplyId,
ProfileId = model.ProfileId,
By = User.Identity.Name,
File = model.File,
File1 = model.File1
};
//var last = db.MyModQuote.Where(a => a.PostId == id).AsEnumerable().LastOrDefault();
//if (last != null)
//{
// var find = db.Posts.Find(last.PostId);
//}

db.MyModQuote.Add(myquote);
db.SaveChanges();
return RedirectToAction(Url.Action(string.Format("topics"wink, new { id = id }) + "#" + myquote.ModQuoteId);
//return new RedirectResult(Url.Action("topics", "forum", new { id = id}) + "#" + myquote.ModQuoteId);
}


What am working on is a forum..something similar to nairaland, where every comment falls under a post.
Meaning that every comment has a postId
ProgrammingRe: Asp.net Mvc4 Help!! by eugy45(op): 3:16pm On Mar 30, 2016
Raypawer:
return RedirectToAction(string.Format("topics#"+commentid), "forum"wink;

or

return Redirect(Url.Action(strint.Format("topics#"+commentId), "forum"wink;

should work..
Really sorry to bother u.
The route is carrying the #commentid bt its nt taking me to the specific id rather it takes me to d postid.
I added the postid to wat u gave me:
return RedirectToAction(Url.Action(string.Format("topics"wink, new{id = postid}) + "#" + commentid)
I added d postid because in my topics action, if postid is null it throws an exception..
The whole tin gat me confused
ProgrammingRe: Asp.net Mvc4 Help!! by eugy45(op): 8:45am On Mar 29, 2016
Raypawer:
there is no # there that will take it to the comment bro, ok try like this and get back to me,

return Redirect(Url.Action("topics", "forum" +("#"+commentId));

without using the new keyword cos at the route table it will change it to a url parameter...

i think i found this here
404 error bro
Its seeing the requested url as /forums/#commentid/topics
I dunno wat d problem is
ProgrammingRe: Asp.net Mvc4 Help!! by eugy45(op): 7:15am On Mar 29, 2016
Raypawer:
each comment should have a unique id, then pass it as a parameter from the controller..

not sure if NL uses jquery
Bro av tried that.
return RedirectToAction("topics", "forum", new { id = commentId})
Its wrkin bt it only takes me to the post. Meaning that if i am in page 5 making a comment, it takes me back to page 1 after making d comment. Too bad!
ProgrammingRe: Asp.net Mvc4 Help!! by eugy45(op): 12:34am On Mar 29, 2016
Raypawer:
But can you Upload one?

if you can upload a single image, then add the property for the second image to the model you used to upload, but don't add the required flag and make it a nullable property..

then at the controller level, try to use some logic to check if the second image byte is empty, it should not insert as an empty byte[] to the database, as c# could be funny rather it should be left null.
I just had to do it the long and dirty way though. I created seperate models 4 different file type. I just got soo confused looping through ienummerable of files. Thanks though!

Do u have an idea on how i can redirecttoaction using jquery.. Jus like in nairaland, so that if a user makes a comment it'll redirect him to the comment he just made. Any idea pls?
ProgrammingRe: Asp.net Mvc4 Help!! by eugy45(op): 6:25pm On Mar 26, 2016
Raypawer:
try this http://devproconnections.com/aspnet-mvc/aspnet-mvc-paging-done-perfectly
Sorry to disturb bro, please hw do i upload multiple images to a post..av tried alot of tins, at yet i cant achieve that. Thank u
WebmastersIssues With Javascript (ASP.NET MVC4) by eugy45(op): 12:30am On Feb 11, 2016
Hey Guys, am working on a forum app with ASP.NET MVC4 and i want to do the follow and unfollow function like in nairalad.
How do i get to achieve that?

I also want to do the like and unlike function, where there is an increament in count.
Im sorry but i dnt have the basic knowledge of javascript.
I would really appreciate any help
RomanceRe: What's With Guys And Female Pictures? by eugy45(m): 12:48pm On Jan 09, 2016
marieolae:
I thought I was the only one!!!

Majority of guys are like this, its becoming very annoying. Well they must have their reasons.
Yeah we do have our reasons.
Reason being that mos girls are fake online, sorry to say. Though am nt one of those persistent guys who demand much 4 their dp.
WebmastersRe: Cropping Issues With Buddypress by eugy45(op): 6:08pm On Jan 07, 2016
eugy45:
I'm having an issue with cropping photos in buddypress integrated with wordpress. I cant crop using operamini mobile, it only works fine on laptop.
So pls how can i totally disable cropping?
I don't get the question
ProgrammingRe: Asp.net Mvc4 Help!! by eugy45(op): 11:04pm On Dec 29, 2015
ProgrammingRe: Asp.net Mvc4 Help!! by eugy45(op): 1:23pm On Dec 25, 2015
Heyzed:
You can create details view for the book so that by clicking the name of a particular book, it will link to detail view of that book.

You just need to reduce the information on that your list view.

If you use code first methods & you let your views generate automatically, it will have done it with the way I explain above.
Thank u bro. I got that right nw, please hw do i get the quote action to capture the comment just like in nairaland. It is acttally replying the comment bt it is picking the first comment in that that post. I used firstordefault(). Bt i dnt really knw hw to query that
ProgrammingRe: Asp.net Mvc4 Help!! by eugy45(op): 1:19pm On Dec 25, 2015
Raypawer:
you can achieve that by paginating the views display, the PagedList nuget can help you achieve that, hope you can use PagedList nuget..

nice app there
Thank you i got it right now. But that pagination stuff, av dne that bt when i click on the next page it doesnt display the next content, rather shows all the same content
ProgrammingAsp.net Mvc4 Help!! by eugy45(op): 9:22pm On Dec 06, 2015
please i need help guys. i have an elibrary and i want each book,s decription to have their own view, but all d books description is being tied to one page. here are sme photo's:

1 2 3 4 5 6 (of 6 pages)