PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds How do I...? (http://www.photopost.com/forum/classifieds-how-do-i/)
-   -   Style questions, mainly redirection template and sidebar. (http://www.photopost.com/forum/classifieds-how-do-i/144540-style-questions-mainly-redirection-template-sidebar.html)

NUTNDUN November 20th, 2010 05:49 PM

Style questions, mainly redirection template and sidebar.
 
I have a couple questions. I want to edit the redirection page that shows in between pages when submitting anything, is there a template for it or is it hard coded? I would like it to match the rest of the site and have the header and footer if possible.

The other question is for the sidebar, how do I edit the statistics block and the calendar block? Are they hardcoded? I am running it integrated to vb4.

Chuck S November 20th, 2010 10:33 PM

It is a function called forward in pp-inc.php

same things these things are functions in the global file as well as some things have templates as well that are used in conjunction with functions.

Not really sure what your doing so hard to comment.

NUTNDUN November 20th, 2010 11:11 PM

I don't really want to post the link to the site until it is finished.

I am going to go without the sidebar for now and then ask about it later. The one thing I do want to ask is I want to edit the template for emails that are sent, do I need to edit one of the files or is there something else that I am missing that I need to edit for emails?

NUTNDUN November 20th, 2010 11:13 PM

The other big question is how to change the look of the redirection page?

Chuck S November 21st, 2010 11:43 AM

The redirect as stated is a function in pp-inc.php called forward.

It is simply a page redirect that displays a message.

ArchAngelz November 22nd, 2010 11:09 PM

I'm also interested to learn how to customise the look of the redirect page; or alternatively, which StyleVars it calls so that we can customise the look and feel (when integrated with vbulletin).

NUTNDUN November 23rd, 2010 05:13 AM

I wasn't able to customize mine like i would have wanted. I took the vb3 enhanced out of the function so it would display what was in the else section. I just made it the same background color as my site and the text just showing in the middle of the page with no borders around it.

Chuck S November 23rd, 2010 07:00 AM

the entire function is in pp-inc.php in a function called forward. It is not that big of a function it is a simple http redirect page with a message in it

You should be able to style it however you wish if your looking in the proper place.

NUTNDUN November 23rd, 2010 07:18 AM

Quote:

Originally Posted by Chuck S (Post 1280043)
the entire function is in pp-inc.php in a function called forward. It is not that big of a function it is a simple http redirect page with a message in it

You should be able to style it however you wish if your looking in the proper place.

The forward function is where I edited. I took out the vb3 enhanced part and moved the javascript redirect section down with the standard output. I tried removing the table code and using css to make a box but it just shoves it all to the right. So I was happy enough just making the page background color the same as the site and taking the table properties away to get rid of the borders so just the text for the redirect message shows in the middle of the page.

The next thing I want to work on is adding slimbox(lightbox) to supersize the images as the popup window has some goofy color properties when it could just be the image in the window. Which is alright though but I would rather use slimbox to enlarge the images.

Chuck S November 23rd, 2010 07:40 AM

well then you did not edit something correctly I would think. You can discuss code modifications in the MOD CORNER with other users if you wish.

The entire html page output of the forward function including the css link and table that prints is in the function which is only like 85 lines of code. If you edit the html as you wish and have included any non standard css classes you are defining etc you should be okay.


All times are GMT -5. The time now is 10:24 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97