PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old December 21st, 2004, 06:20 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2004
Posts: 131
Find and replace member.php in templates

Can anyone please give me instructions on where I can see these templates in action?

adv_gallery_categorybit_level1
adv_gallery_categorybit_level2
adv_gallery_ecard_layouts

I have changes to make, since they contain "member.php", a link we do not use at our site. But I don't know how to verify my changes!

Please and thank you.
StewardManscat is offline   Reply With Quote
Old December 21st, 2004, 06:21 PM   #2 (permalink)
Ultimate Member
 
Join Date: Jan 2004
Posts: 2,196
Re: Find and replace member.php in templates

There is no .php templates.
Zachery is offline   Reply With Quote
Old December 21st, 2004, 06:53 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jun 2004
Posts: 131
Re: Find and replace member.php in templates

Whatever.

Here you go Zach: I need to change templates. I need to modify every occurence of "member.php". I don't know the gallery software very well yet, I'm still installing and learning. So I need a way to search all templates. Further, I need to search inside templates. Neither phpMyAdmin or vbulletin provide very slick tools for these tasks. In fact I don't believe they support searching within blob fields period.

So I write a snippet of code that dumps all templates from the database to my local file system. I happen to choose the php file extension because that triggers my editor to use syntax highlighting for php, most useful for vb templates.

Now I can use professional tools to find strings and edit templates. To accomplish tasks like "change all occurences of this to that, even though you do not yet know where the template is used".

Which brings me back to the question. Can you briefly tell me what to click or where to go to see these templates in action? Or better yet, present a generic solution to this problem: Here is a template, where is it used?
StewardManscat is offline   Reply With Quote
Old December 21st, 2004, 06:54 PM   #4 (permalink)
Ultimate Member
Verified Customer
 
ConqSoft's Avatar
 
Join Date: Nov 2003
Location: Raleigh, NC
Posts: 1,413
Re: Find and replace member.php in templates

vBulletin has a built in feature for searching in templates.....

AdminCP->Styles & Templates->Search In Templates.
ConqSoft is offline   Reply With Quote
Old December 21st, 2004, 06:56 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jun 2004
Posts: 131
Re: Find and replace member.php in templates

True, thank you. But it does not search within a template. Some of them are rather large. Please correct me if I am wrong about that too, I'd love to get better at this.
StewardManscat is offline   Reply With Quote
Old December 21st, 2004, 06:59 PM   #6 (permalink)
Ultimate Member
Verified Customer
 
ConqSoft's Avatar
 
Join Date: Nov 2003
Location: Raleigh, NC
Posts: 1,413
Re: Find and replace member.php in templates

Quote:
Originally Posted by StewardManscat
True, thank you. But it does not search within a template. Some of them are rather large. Please correct me if I am wrong about that too, I'd love to get better at this.
If you go there, and search for member.php, it should return all templates that contain that text. Then you can edit each one. Click in the textarea, CTRL-F, member.php, and that will search within the textarea. (Searching in a textarea doesn't seem to work in FireFox, but has always worked in IE.)
ConqSoft is offline   Reply With Quote
Old December 21st, 2004, 07:32 PM   #7 (permalink)
Brian
Guest
 
Posts: n/a
Re: Find and replace member.php in templates

You'll see the two category templates when viewing the main page with your categories. member.php there should be used for the link to the last poster, last member who uploaded, and the link to the username if the category is owned by a specific user. For the e-card template, that's used for the different layouts for e-cards and you can see them when previewing or viewing an e-card. As far as I can remember the only place member.php is used there is to link to the profile of the user who sent the card.
As far as I know vB's built-in search and search/replace functions should work fine for something like this. I've never had a problem using those functions anyways.
  Reply With Quote
Old December 21st, 2004, 07:56 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Jun 2004
Posts: 131
Re: Find and replace member.php in templates

Gotcha. The "last upload" and "last post" columns on the index page, and the e-card preview.

Excellent. That saves me from releasing something that will break in front of the customer.

I appreciate your direct answer to my question.
StewardManscat is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
where do i find this in the templates quasan Photopost Pro How Do I...? 0 September 28th, 2005 08:24 AM
find out my member numbers? Wasabe Photopost Pro How Do I...? 1 May 30th, 2005 04:39 PM
php code in templates neurosis Before You Buy 1 March 15th, 2005 09:11 AM
Replace Member List with Gallery on Navbar Globalbuzz How Do I? - vBulletin 3.0.X 3 February 2nd, 2005 06:53 AM
Missing cached templates in showimage.php KW802 Bugs From 1.0.0 2 December 13th, 2004 08:51 PM


All times are GMT -5. The time now is 02:49 AM.

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