View Full Version : Re-Order?
When looking here:
/admin/index.php?view=images
I notice that there are some skipped numbers, I presume from deleted images.
Is there a way to reorder all the numbers so they are in complete order?
Is this driving anyone else crazy?
Thanks!
Joe[y]
05-16-2005, 08:32 PM
there may be but i wouldn't advise this as a lot of permanent links would be lost... changed.
but I've thought about it myself but thought against it for the reason just highlighted.
raminia
05-16-2005, 08:33 PM
it is the id, a unique number assigned to each posting attempt not the number of the posts. it is something like social security number. Do you mind if your social security number is not in sequence with your wife's?
It does not bother me:)
there may be but i wouldn't advise this as a lot of permanent links would be lost... changed.
but I've thought about it myself but thought against it for the reason just highlighted.
i dont use permalinks though...
hmmm...
Joe[y]
05-16-2005, 08:38 PM
in that case i think a sensible idea would be an addon that reorders the ids if it bothers you...
but PP doing this itself and ignoring deleted ID's would certainly be avoided from an official release.
in that case i think a sensible idea would be an addon that reorders the ids if it bothers you...
but PP doing this itself and ignoring deleted ID's would certainly be avoided from an official release.
i think an addon makes sense...
this wouldnt affect comments would it?
blinking8s
05-16-2005, 09:47 PM
yes, it effects search engines, permalinks from other sites, referrals to specific photos, comments...the id is a locator for that photo posted, if you dont want to skip numbers, dont delete an entry after posting it...
my advice, leave it alone...99% of people are not going to notice it, and if they do, it will not bother them
raminia
05-17-2005, 08:28 AM
what you need a serial number for photos not a renumbering the id. This can be an addon but with the new feature of the admin addons but I don't like it;)
what you need a serial number for photos not a renumbering the id. This can be an addon but with the new feature of the admin addons but I don't like it;)
cam u explain?
blinking8s
05-17-2005, 11:49 AM
I disagree with even thinking about it...when you delete something, its gone...there is a reason to replace the id, the numbers have nothing to do with anything, the only ones who notice them are the picky people who are running the photoblog and notice every minute detail, the search engines and referrals that direct to that id, moving it around shouldnt even be thought about, it throws everything out of whack...
moral of the story, make sure you post the photo you really want to use so you do not have to delete it. Although I have missing numbers in mind, a photo 2 months later I decided I didnt want public or something, if I was to replace the ID it would through everything I have worked for to gain traffic to my photoblog off...links to photos from other sites would be messed up
As for how to change it, you can enter your database and manually do it, I highly advise against it if you have a high number of photos or a more than few week old photoblog running that people are going too...
I disagree with even thinking about it...when you delete something, its gone...there is a reason to replace the id, the numbers have nothing to do with anything, the only ones who notice them are the picky people who are running the photoblog and notice every minute detail, the search engines and referrals that direct to that id, moving it around shouldnt even be thought about, it throws everything out of whack...
well i see your point... but it's not something someone HAS to do... i thought it was going to be an addon... something optional... to do if you feel you want to...
i still like the idea in keeping our photoblogs more tidy
also, search engines are quick... it would only take a few weeks to realign their engines... in fact i've seen google work in matter of days...
blinking8s
05-17-2005, 12:21 PM
Im not saying anyone HAS to do anything...Im simply saying that altering the ID's is impracticle as a whole and should not be done, yes a search engine might notice it within the month or two weeks, but referral links and traffic can be effected in the long-term from this...
also, as far is it keeping the photoblog "neat" odds are that you will be the only one who notices if image #118 doesnt follow #119 after clicking previous.
My best advice is to post carefully, plan out what you want to do and do not delete the photos if the ID's have to be in order.
My best advice is to post carefully, plan out what you want to do and do not delete the photos if the ID's have to be in order.
I completely understand... But sometimes that simply isnt the case...
Just trying to make this software better!
Thanks
It is actually a harder thing than it first appears;
1. MySQL automatically assigns the IDs, not us. We can re-assign everything (breaking permalinks) and reset the MySQL counter, but it is a bit of a pain.
2. In doing the updates, all of the other info in the database links back to the image ID, so all of the other tables would also have to be updated with the new numbers. That is fine if you are just working with the default PP install, but many addons add their own tables that we wouldn't know about, so an addon like this would either have to take into account every other addon and hack or break them.
raminia
05-17-2005, 08:57 PM
you need some numbering alongwith IDs to relax!
IDs are IDs they are there to be unchangable. But there could be some lines code that couns the number of photos and assign a number to each photo everytime you visit admin panel. but it is far beyond necessary and if someone did such modification tell me and I'll try to consider it inside official release. But similar to Blinking's view, I don't even think about it either
you need some numbering alongwith IDs to relax!
IDs are IDs they are there to be unchangable. But there could be some lines code that couns the number of photos and assign a number to each photo everytime you visit admin panel. but it is far beyond necessary and if someone did such modification tell me and I'll try to consider it inside official release. But similar to Blinking's view, I don't even think about it either
i think this would be completely useful...
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.