Add A Link From The Front Page Of Forum
Is there a way I can add a link from the front page of my forum out to my php photo gallery. I would like to make it so instead of clicking on the forum name on the first page which then takes you to a sub forum which then takes you to a thread with the link, To just click on the forum name which takes you to my photo gallery.
Next best would be on the front page in the description of the new photo gallery be able to add a link. Which file would I edit to change or add these links? I know I can add a link in the overall_header.tpl but I do not see a way to change the forum name link that takes you from the first forum page to the next.
View Complete Forum Thread with Replies
Related Forum Messages:
Add A Little Peice Of Code In Front Of Every Link?
I have a site that I recently added in SEO urls. Everything works great, but none of my links go to the seo. So I need a script that would add in a $variable before every link, automaticly. Since I am not too skilled in php is would be really hard or me.If you are a PHP guru out there could you whip this up or me?
View Replies !
HTML, PHP, Front Page
I use Front Page 2000 to devolp my web content (don't hate me I just happen to like WYSIWYG better than physically writing out the code for HTML (a pain in the butt language :-) ) Anyways does anyone know if I can have it save files as .php instead of .html and use them in the web setup. Also another question how do I get a server to load index.php instead of index.htm?
View Replies !
FRONT PAGE + PHP (simple)?
I'm working on litle host site. It will give free hosts to users and accept donations (if any). I have problem with combining site who is build with front page (just html) with who is script. I can not insert code of php in my page without errors.
View Replies !
Update Front Page
Can be written in PHP or PERL. Basically, I'd like to have a server side include on my home page that would include whatever file would display the feed. Then, on the flip side, I'd like some backdoor part where I can go type in a new entry and have it add it to the feed. I know these programs have to exist, but I'm having no luck or I'm finding ones that are 4 years old and are no longer supported.
View Replies !
Features To Link With Bb Forum
i run a Blackpool fans site and i'm trying to make it better constantly as i'm sure you guys are with your sites. Anyway i'm trying to keep up with a rival site, who are on a network but all the same have some decent stuff. For example they have comment boxes which need a message board log in to use and a members post league table on the front page. Is there away to do this on my site?
View Replies !
WordPress Front Page Display Problem......What Should I Do?
I use wordpress's latest version. I found one problem. I set up that from Reading section only 5 post should be visible on my site and also summary size. After click on update button and refresh my browser and see that, my all post are showing on my site's front page and every post also full form. I don't know what's the problem. I am not expert in php.So, I can' fix it.
View Replies !
Add Recently Added Posts Etc To Front Page
I am running a forum and now want to create another front / homepage where i can have other stuff related to the site as well as displaying recently added posts from the forum. I have looked in the database for some sort of date or time that a certain post has been posted but doesnt make sense, it doesnt look like a sort of time and date that is humanly readable?
View Replies !
Display A Page Within A Page ($Donation To Forum$)
I know absolutely ZERO about php...This being said, I have some money to make a donation to the forum if this very simple, yet extremely annoying problem that I have is fixed. Let's say I would like to insert a page within a page for example a parking page. Code:
View Replies !
My Own Forum Page
I am doing my forum type of thing, I have been coding for a day straight now, And before I wanted to save and run the file I realised that It wont work, its not good enough, it sucks and it is not something I would give to a client. so where you people come in is to please redirect me to a place where I can get a decent well working example which I can modify in a jiff, because It should have been done yesterday already. Please pleaaaaaaaaaasse help me find code for this.
View Replies !
1 Page Forum
I installed a PHPBB forum on my site, and am currently using it but this is not what i want. I simply want a forum that has only one posting area --> "support". and that is connected through my site so people do not need a separate login for the forum.
View Replies !
Forum To A Diffrent Page
I am wanting to show who's online in a forum on a diffrent site. I have been googling this for 2 days now and I haven't found anything that could help on what I am trying to do. The forum I am using is Vbulletin.
View Replies !
Calling A Forum Page.
I have a minibb forum, in a directory called 'forum', under a directory called 'www'. So it's route -----> www ----------> forum Most my website is called using a php script that calls everything into the main index.php (I don't know what they're called) Anyway, I would like to call my minibb forum into my index like I have the rest of the website, but it is not working.
View Replies !
Linking A Page With Phpbb Forum
iv been trying to do this for a while, link my website users with phpBB forum users so they only need to register once. Now someone was kind enough to give me this code to get the users information: Code:
View Replies !
Forum - Single Page W/ Includes
I'm coding a forum for one of the sites I maintain, and I'd like to ask the community's opinion. Should I code it one main page, index.php, and have it use includes like index.php?p=newthread or should I have multiple pages, i.e., index.php, newthread.php, attachment.php, etc. What do you guys think is the best way to code this?
View Replies !
Setup A Link In My Page That Will Change My Page
I am working on a page with a right column that I want to use for navigation. In this right column I am using the below code to set a value for the link. I am using the variable $test right now. I want to click on the link and when the value is set to a certain value, say 1, I want the script to run and load a page based on a switch case. This way I can use different links for navigation that will load different forms and areas of my application. So here is the code for the link line. Code:
View Replies !
Php Page Will Not Process Link To Different Page
I have just installed RH Linux ES 3.0 (basic) kernel 2.4.21-9.EL, i686, Apache 2.0.X, and php 4.2.X. I have made no changes to the php.ini. I am trying to use the following page (code listed here) to click on link, and display 1 of three pages. The code does not seem to work, it only shows the "else" condition of the php code, which is page: "stuff.php". What do I need to do to my apache/php config to get this to work? Of course I copied this code from a php site tutorial somewhere. Page code below: <? if ($link == page2){ $page="files/page2.html"; } elseif($link == page3){ $page="files/page3.html"; } else{ $page="files/stuff.php"; } ?> <html> <head> <title> index.php </title> </head> <body bgcolor="#999999"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td colspan="3"><h1>The Template (index.html)</h1></td> </tr> <tr> <td align="center" valign="top"><a href="index.php?link=index"> Page 1 </a></td> <td align="center" valign="top"><a href="index.php?link=page2"> Page 2 </a></td> <td align="center" valign="top"><a href="index.php?link=page3"> Page 3 </a></td> </tr> </table> <? include($page); ?> </body> </html>
View Replies !
Next Page Link
I have pages, 1.php, 2.php, 3.php and so on. I would like to make a next page and last page links at the bottom of each of them. Is there a way to get the pagename then take the .php off of it, and then add or subtract 1 and then echo that? $nextpage = "(php_self - .php + 1)"; $lastpage = "(php_self - .php - 1)"; I know that is not even close, but use that idea.
View Replies !
Check For Link In Web Page.
I am putting a form on my site that will allow someone to submit a link to me. If they have a return link back to me it will effect the way I display thier link. Closer to the top of the page. What do I have to do in order to see if my link is up on the page they submit.
View Replies !
Redirect At Other Link Page
by php which the fast solution for make redirection at homepage ? Time ago read some solutions, but one most fast because not load or not make a reload of itself page, not remember exactly but was a solution more fast...
View Replies !
Link Display On Same Page?
I want to list the titles of all my articles from my database onto my webpage at articles.php. Then when the users click on each title, the individual articles will load on the same page. I'm new to PHP/MySQL, so here is what i've done so far. row[0] as my unique id numbers for each article, and i've included it so that i can somehow tell the page to load the article related to the unique id number. Is this all making sense? Code:
View Replies !
Dynamic Web Page Link
I want to create a simple dynamic page where when i click on a link to automatically create the page. What i mean.. I have some news that display by date, and because they will be updated every day i don't want to create a page for each one of these. So when the user goes to the index page of the news(where the news are displayed by date) and clicks on one, I want the php do all the job and create a new web page where it will add the hole text of the "new" the user selected in a page template. How do i do that? Can i use the dreamweaver templates?
View Replies !
Link To Page 2 From A Table
Trying to learn and create my own classified script. on page one main page i was able to read the categories from mysql databse and display the the categories in a 3 col table (row1['category']). what can i add in terms of code so when i click on a category that it takes me to page_2.php carring with it the category i selected (the page must open in the same page)? i tried different version of $_service(php_self) but not getting anywhere. page_2.php will display a sub category which i will work on later.
View Replies !
Unique Page Link
I am trying to make a page have a unique link so people can send it to friends. What I am trying to do is something like: Your Name: Your Friends Name: Submit After that, the next page will display that information and output a unique link where that friend can send the link to other people with the information saved (a unique link [I have PHP Code:
View Replies !
Check Link Page Url
I am trying to find the pages url then see if it contains a certain string. Here is the code I used but doesn't work. <? $link = $_SERVER["PHP_SELF"]; $exp = explode("=", $link); $linkname = $exp[0]; $linknumber = $exp[1]; if($linkname == "/viewpage.php?page_id") { echo $linkname; echo $linknumber; } ?> What I'm trying to do is see if "$_SERVER["PHP_SELF"]" contains a certain page. If it contains "/viewpage.php?page_id" I want it to go into that if statement. The problem is it doesn't Btw I need it to explode it because I need the page id number in the other variable for something later. Also another problem is if the link doesn't contain the "=" sign to explode. Would that cause a problem?
View Replies !
Changing A More Link Into Page Numbers
I have the following code which I've tried to edit to fit some examples others have posted on here, with no luck. I have a page that displays More and Prev links but not the page numbers. How can I change this code to have page numbers instead of the More Prev? PHP Code:
View Replies !
Home Link From Navigation Page
I got a code which helps me to create navigational links and only show 4 results per page. Now I want to add a link on each page such that if anyone clicks on that link it takes it to HOME page. I have added <a href="Home.htm"><b><font size="4">Home!!</font></b></a> inside the loop that generates NEXT and PREVIOUS page link but whenever I click on HOME it does nothing at all.
View Replies !
Using A Link To Change Page Content
Basically I have a page to enter data into a mysql db via a form. After the data has been input, this form disappears and instead (on the same page) the data is shown in the same format, just not editable anymore. What I need to do is have a link that will be able to switch between the two states, being 'edit' and 'view'.
View Replies !
MYSQL - Link To An Index Page
I'm working on a site which has several hundred articles stored in a MySQL database. On the bottom of the page are two links for the previous and next article. The site has been constructed in such a way that the database has fields containing the url of the previous and next pages (i.e. article.php?recordID=137) and these are pulled out of the DB in the form of links. Rather than them having to add this to the DB every time a new article is added I'm trying to automagically do it in PHP. I've sorted the main part by taking the current article and either subtracting or adding it's ID by 1 to create the prev and next but I'm a bit stuck when it comes to the current (highest) article number. What I want it to do is link to an index page when there is no +1 (or -1 for the start).
View Replies !
Open Link In Included Page
How to include Link that could open in same page rather than going to another page for example, if i include a file in home.php <? include("/index.php") ?> and I want to open up the LINKS in "index.php" in same home.php. example - open "/index.php?p=Hits" on same home.php page I know i could have FRAMES but i dont want to frames in my site
View Replies !
Multiple Page Link Exchange
I am in need of a PHP Link Exchange script (preferably free) that is not for single pages. The use of this script will be for having 4 pages on the website - the home page with paid links for $1, and then 3 other pages for free link exchange (Free Links Page 1, ...2... and so on) If you know of a script out there then please post a link to it here. It would be a huge help to me and I greatly appreciate it. I saw one almost a year ago on the HotScripts Most Poplar page, but cannot remmeber it nor find it in HotScripts now.
View Replies !
Redirect Page Click A Link
I have page1.php. Click a link on it and it goes to redirect.php. This uses a redirect to page3.php. If I click the Back button in my browser when on page3.php, will I go back to redirect.php and therefore be sent to page3.php again? Or will I go to page1.php?
View Replies !
Submit Wont Link To Next Page
I have written this as an answer to some other major issues I had with another form I was trying... The problem now is, If a required field left empty...it links to this page..."ALL GOOD" But when the 'Submit' button is clicked, the page goes white and doesn't show the page reqested... Code:
View Replies !
Current Page Pagination Link
When you use pagination, how do you disable the link for the current page you are on?Example: <a >1</a> | <a href="pagination.php?pg=2>2</a> | <a href="pagination.php?pg=3>3</a> I think you would use some type of php_self code to do this, but I am not sure.
View Replies !
Main Page Login = Forum Login
This is going to be a website for a club im in at University. Now, I only want members of that club to be able to register. The problem is that they pay a member fee. I want to know a way that when they pay me the fee (in person) I can give them a unique confirmation number from which they can register properly (sorta like a CD-Key). Code:
View Replies !
Link To Form Results Page Dynamically
I have a dropdown box that pulls information from a database. What I want to achieve is that when a caller selects an option, the option determines that page that comes up. I tried setting the form action to the name of the option, but this down not bring up anything; actually the resulting page is .php. I also tried moving the form action statement after ther selection, but that does not work either - the Submit button does not work. PHP Code:
View Replies !
Link To Local Files Through A Dynamic Page
I decided to flesh out my php skills by building a web application which could scan through local files on my intranet (specifically mapped drives on my server) and generate a list of Movies or pictures or music, etc. Which worked fine, I created the code to do that and to store the results in a mysql database. I can even print it out to a ..php page and sort it however I like. What I can't seem to do is to create links to the data I've indexed in a way that will let me open them from the generated php page. I've searched and searched and there just doesn't seem a way to do this. I'm pretty sure I've exhausted the obvious options. The following trials did not work when the document was served from an apache web server. <?php echo "<h1><a href=file:///c:/temp.txt> HEY </a></h1>"; echo "<h1><a href=file:///c: emp.txt> HEY </a></h1>"; ?> <a href=file:///c: emp.txt target="_top"> temp.txt </a> <a href=file:///c:/temp.txt target="_top"> temp.txt </a> When the same page was loaded directly from the file instead of served through apache the bottom two links worked. This doesn't really help me however. I need to be able to dynamicly generate pages that link to the files. I've read that browser security is the restricting factor in this but changing all of my security settings in IE to low didn't seem to affect it (not sure what the equivalent of security settings is in Firefox). Does anyone know of a way to link to local files directly in a way that lets you open them directly from the source instead of by downloading them to a temp file or saving the file to somewhere locally? Is it even possible in PHP?
View Replies !
Form Input Page To Sort With Link
I'm looking to create a page that a user can input data into a form and submit it to a mysql database. From there I want another page to display the data sorted by a certain field of the data that was entered (i.e. Year) and then be able to click on the field that is sorted by (Year) and go to another page that displays all of the information that was originally entered.
View Replies !
Setup My Form To Link To A Page After It's Submitted
I want to setup my form to link to a page after it's submitted. Right now it simply prints out "Thanks for contacting us. Someone will get back to you shortly. Instead, I want it to go to a new page of my choice. How do I do this? I figure its just a command I am unfamiliar with. not entered an email, please go back and try again";} else { $send = mail($to, $subject, $body, $headers); if($send) {print "Thanks for contacting us. Someone will get back to you shortly.";} else {print "We encountered an error sending your mail."; } }
View Replies !
Pagination Problem - Second Page Link Isn't Showing.
EDIT: Ok got my first problem taken care of, next problem is if you view the link below you will see that [1] displays, but there should be [1] [2] so I can't figure out why the second page link isn't showing. EDIT2: I also need to change ?num=$page to ?page=$page, from below I"m afraid to touch anything as I don't wanna break it. EDIT3: Once I had enough inserted for 1 full row on the second page it started showing the page numbers properly so now that is the fix. PHP Code:
View Replies !
|