
PrinceTaz
Members-
Posts
63 -
Joined
-
Last visited
Everything posted by PrinceTaz
-
Hi there, I'm looking to get a script developed and I wanna know if I should get it developed with Wordpress or custom. What would be the pros and cons of each besides cost? [link] That is the link to the proposal. The website is going to be similar to ggboost.com
-
I'll do that, thank you!
-
Would sessions be best for the job? Because also I want this to be a universal breadcrumb. So lets say I go to usercp, it would be Forum-> usercp. Would it be smart to use a conditional statement for when im browsing through threads and / or other website features i:e, memberlist or something.
-
Can you combine this post with the one up there?
-
So topic 3 is viewthread?id=3 which is part of the threadlist for id=1 which is part of the forum (home page). Reply would be part of viewthread which is part of threadlist which is part of the forum.
-
Okay so the forum is already pretty built and operating. If you want a link for reference, I can provide it. I do have a folder structure but very basic, admin, includes, styles. It's just I'm having a hard time understanding the logic that goes behind making breadcrumbs made for a forum. I've seen other tutorials but they use folders for the url whereas I use "id=". For example, here its "topic/311379-php-breadcrumbs-for-forum". Mine would simply be, viewtopic?id=3.
-
I see, when you put it that way, I've been thinking about it all wrong the whole time. I want it to work exactly how this breadcrumbs on this forum does. So you're saying I should set up some sort of hierarchical system for the folders?
-
Hey so I've been designing a custom forum script and I need help. I'm trying to create a breadcrumb that takes into account page title. My pages have an id, so for example: threadlist.php?id=1, viewthread.php?id=3 and so on. I used a tutorial to get started.This is what I have so far. This portion is in header.php to get session: $url =BASE_URL; $_SESSION['history'][$title] = $url; while(count($_SESSION['history']) > 4) array_shift($_SESSION['history']); breadcrumbs.php <div class="container pagination"> <nav aria-label="breadcrumb"> <ol class="breadcrumb"> <?php foreach($_SESSION['history'] as $title => $url) { echo "<li class='breadcrumb-item'><a href=". $url .">". $title ."</a></li>"; } ?> </ol> </nav> </div> It works decently well. Only problem is, when I go back to the homepage, or backwards, it doesn't remove the breadcrumb. Also, I can't click on the breadcrumb because the url isn't set up right. I know I have it set to BASE_URL buts that's only cause I can't figure out how to grab the url which would be different for every section of the site I'm on.
-
Well only reason its less complicated to me is simply because I've done it so many times . I'll take a look at that. So my other idea was to create a tuple relating to each individual table. For example, for each forum, create a forum_cat attribute to define which category it belongs to. Same with topics/replies.
-
I don't yet, I created the least complex stuff first. Like dynamically displaying forum and category names, registration/login system.
-
Hey there, so as a personal project, I've been working on creating a forum software. You can check out what I have so far here: https://www.taziamoma.com/Forum/index.php What I'm currently having trouble with right now is connecting a Category with a forum with the threads inside of it. For example, I have a Category that has 3 forums attached to it. How do I link that in the database and how do I indicate which threads belongs to which forums?
-
Actually, I am also looking for this, seems like it would be a great way to learn PHP by interaction. I am an interactive hands on learner.
-
Aha, thank you, it works now. Well I already have a <ul> and I want to add the <li> in there.
-
I am trying to create a webpage and I've added some jQuery to it but it is not working, can you help me out? JS File: $(document).ready(function() { $('#button').click(function() { var toAdd = $('input[name=add]').val(); $('.message').append("<li>" + toAdd + "</li>") }); }); HTML: <html> <head> <title> Test page </title> <link rel="stylesheet" type="text/css" href="style.css"> <script src="http://code.jquery.com/jquery-2.1.1.min.js"></script> <script type='text/javascript' src='script.js'></script> </head> <body> <div class="top-section"> <div class="top-back"> <div class="tcontent"> <div class="tcontent-body"> <h1>Welcome to the Forum Pioneer Test Page</h1> <ul> <li>This will be a list of to do's.</li> <li>Add your own list below</li> </ul> <form> <input type="text" name="add" value="Type Here"> </form> <div id="button">Add</div> <div id="message">d</div> </div> </div> </div> </div> </body> </html> I've put only the elements that are affected. I try clicking the button, but the content isn't appended.
-
Anybody got this link for download?
-
Is it in English? Can you download it an upload it somewhere? It won't let me register.
-
Is there an updated version of the meeting Mod? It was a really amazing mod to have, can someone make something like this for 3.0.12?
-
Site Name: Forum Pioneer Link to site: http://forumpioneer.com/ (Down Currently) Positions Available: 2 Admin Super and Normal Moderators phpBB Support Team MyBB Support Team IPB Support Team vBulletin Support Team XenForo Support Team Forum Pioneer is a resource site and webmasters central for forum software. I intend for it to be a collection of the best and the most useful modifications that forum owners need. Pm me for more info. We are currently on phpBB, but I intend to migrate to IPB when the forum gets bigger.
-
I have a full understanding of what a blog does, the problem is knowing how to do it. For example, I have all the ingredients but I don't have the recipe to put it all together. I know that programming doesnt exactly have a recipe and you can code all types of ways but the basic recipe. Like how to retrieve information from a database and that sort of stuff.
-
<html> <head> <title> </title> Javascript can go here as well </head> <body> <?php echo "PHP can go here"; ?> </body </html>
-
Do you have any examples of a very simple blog script which I can look at? I don't want anything too advanced.
-
Thanks everybody. I will attempt to build this from scratch again and will post back if I have issues, feel free to post tips that will help me out. I don't want to start off with bad habits.
-
I see, I can make that work. So how can I style the $title in css? It is currently echo "<h1>" . $title . "</h1>\n"; echo "<p>" . $content . "</p>\n"; echo "<p>By:" . $author . "</p>\n"; } , how can I style it. EDIT: I am having trouble displaying the date. I have this: $title = filter_input(INPUT_POST, 'title', FILTER_SANITIZE_SPECIAL_CHARS); $content = filter_input(INPUT_POST, 'post', FILTER_SANITIZE_SPECIAL_CHARS); $author = filter_input(INPUT_POST, 'author', FILTER_SANITIZE_SPECIAL_CHARS); $date = filter_input(INPUT_POST, 'date', FILTER_SANITIZE_SPECIAL_CHARS); //index.php while (mysqli_stmt_fetch($stmt)) { echo "<h1>" . $title . "</h1>\n"; echo "<p>" . $content . "</p>\n"; echo "<p>By:" . $author . "</p>\n"; echo "<p>By:" . $date . "</p>\n"; } //but I get this error Notice: Undefined variable: timestamp in C:\wamp\www\test\index.php on line 35
-
I see, I can make that work. So how can I style the $title in css? It is currently echo "<h1>" . $title . "</h1>\n"; echo "<p>" . $content . "</p>\n"; echo "<p>By:" . $author . "</p>\n"; }, how can I style it.
-
So i am going recode this from scratch and test out just how much I've learned from you. EDIT: How can I add a date to when the author posts.