View Full Version : Query
January 29th, 2010, 07:57 PM
I would like to edit the default main page query to show all the member categories. When members upload to my site and just use the default - create the member category automatically - the member is not displayed on the main page. I uderstand that is becuse the image are not really added to their own category - but tagged for the use.
But if you go to the sites member categories, all show up, this includes the automatically created categories as well as the manual ones. Can the query for the member categories be used on the main page query?
Would the edited query allow the manually created sections show up as well as the automatic ones?
I hate that I have many user categories that my guests never see unless they click the 'Member Categories' link...
If I confused you - sorry... I think I confused my self! :)
January 29th, 2010, 09:27 PM
There is no option in the program to do that.
January 29th, 2010, 09:34 PM
There is no option in the program to do that.I understand that Chuck and I appreciate the help - can the original PHP query be rewritten (I'll edit the file on the server) to accommodate my request?
I have no problem editing the PHP files as needed.
January 29th, 2010, 09:41 PM
the index and the members script are two different scripts so not really something you can just change a query and expect to work. I would suspect you would need to recode alot of the core code in the index to make things work like you want.
January 29th, 2010, 09:45 PM
Ahh - understand, it's not really the query that is the problem but the script that populates the results.
Has there been any thoughts about doing this or am I the only one who has asked?
January 30th, 2010, 11:02 AM
Well there is alot more to a script than just one query.
You define scripts and templates to perform a specific purpose. The index scripts purpose is to display your categories. It is not to display contents of categories.
You are the only one I can see that has every asked about having members galleries on the actual index.
January 30th, 2010, 11:20 AM
No problem, the only reason I asked is that if you go to the main gallery page - it looks like only a few have uploaded images (the ones who actually made a gallery category), yet if you click on the Member Gallery link there are actually many more. I would like to make my, the member galleries, have the same level of exposure.
Jeep-CJ Gallery (http://www.jeep-cj.com/gallery/)
January 30th, 2010, 11:36 AM
well thats because you have not created categories for your site the only category is members galleries.
January 30th, 2010, 12:02 PM
If I create a category, can I move the members galleries to it?
Thanks for the help! It is really appreciated!
January 30th, 2010, 01:47 PM
Well yes but thats not going to get you what you want. I am merely pointing out you have no categories. Members galleries is a default category.
January 30th, 2010, 02:04 PM
I'm still stuck then.
January 30th, 2010, 02:48 PM
yes without you modifying the program to do what you want you are stuck with the way it is supported and coded.
January 30th, 2010, 03:00 PM
yes without you modifying the program to do what you want you are stuck with the way it is supported and coded.No problem - TY :)
Can you recommend a coder who can do this modification? Or off line -can you?
January 30th, 2010, 03:01 PM
enjoy your weekend.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.