PDA

View Full Version : search.php?do=getnew


Tyegurl
04-27-2006, 04:02 PM
i have searched vbulletin.org...i have posted there lol...now we will try here...

i have gotten all of my other links to fall in line. the last one that won't for some reason is this one. search.php?do=getnew its from the navbar for New posts... can you please help me fix this one? and i have updated the version.

Morgan
04-27-2006, 05:04 PM
In Relative Links there should be:
Content visible to registered users only.
And in Absolute Links there should be:
Content visible to registered users only.
Both on the same line in each box.

Tyegurl
04-27-2006, 05:33 PM
it is there....and on the same line...hence why i don't understand lol

Morgan
04-27-2006, 05:59 PM
Try looking in your HTML source for the search.php?do=getnew bit. What do you see for the HREF link? Perhaps it's href="./search.php?do=getnew" or something.

Tyegurl
04-27-2006, 06:06 PM
i added to both spots action and action that php...no luck...i can't even access it if i enter it directly...goes to photoplog/index.php....

i will look again but i am not sure how to view the source when i can't even access the page.

Morgan
04-27-2006, 06:25 PM
View the source on the page that has the link, not the linked page, i.e., view the source on the page with the link that doesn't work. Don't actually click the link. ;)

Loco.M
05-02-2006, 05:30 AM
are you asking how to show new gallery uploads in the =getnew ( new post ) link ? if so what do I need to do to achieve this ? and if thats not what your asking, how would this be done ? or even possibly be able to select what gallery cats would show in getnew. :)

thank you

Nitro
05-02-2006, 03:25 PM
Loco.M try copying the "Newest Uploads" href from the photoplog navigation to where ever you like.

Loco.M
05-02-2006, 05:38 PM
okay, but I'd like it to be global for the site, I have a few places where the =getnew applies and am not looking forward to change all links.

maybe I can just add the code,, does it by chance show as

New Gallery uploads: XX

can we make it show the XX, the number of new images, just like my site does with post ?..

thank you

Nitro
05-02-2006, 06:07 PM
I think your getting somewhat mixed up. Tyegirl has an issue with the forums search.php get new posts link.

You asked wether he means to do with new gallery pictures, which I dont think it was but went on to ask how would it be done anyway which was the basis of my reply to you. ;)

Right click the Newest Uploads link on your photoplog navbits navigation and copy link location (Fx) or copy shortcut (IE) now yoiu have the link to show latest picture uploads which is not a =getnew anyway but simply a photoplog home sorty by date link. Now add the <a href="paste">What you want displayed</a> to where you like. Globally you may want to drop it into the navbar itself inwhich case as a navbar button you will likely want to wrap it in a table cell. The only problem here is on gallery pages you will have the same link twice unless it can be conditioned out if in the gallery, or condition on if elsewhere

To have a count in the link would require a plugin with a query that would count from when they last visited to now how mmany new images there are, and as you want it global I would say the best hook location would probably be global_start.

Loco.M
05-03-2006, 03:43 AM
thank you :)