Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - graficalicus

Pages: 1 2 3 [4] 5
46
Quote
maybe step 1 - 3 were not done properly? check permissions?

hmm - - tried again - - still get a completely blank page...   :?

ah, well - - maybe a different MOD for me.... :(

47
hmm. I get a white page when I alter sessions.php  (included below, without V@no's changes - )

Ideas what's interfering?  thx - - 8)

48
Hey!

I undid this step from above -
Code: [Select]
Code:
$main_template = get_cat_template($main_template, $cat_id);with
Code:
$main_template = get_cat_template($main_template, $image_row['cat_id']);


and it's all happy!   :D

Thanks!

(Ok - next project - hide user names for the red challenge categories when a challenge thumbnail shows up in random images, new images, on my main site, etc.... - - )

49
thank you - - but still no joy....   :(

it's still grabbing the "red bar" template for every details page.

50
OK - let's actually attach the file, then....  :oops:

attached as a .txt file........

51
no luck  :(

details.php attached...

52
AArrggghhh!   still can't figure out what's not working or what's interfering.

Simple thing - all I want is users to not see who uploaded images in one category, plus its sub-categories!

"recent comments" code is in Details.php - but shouldn't "unset($cat_id);" work to turn it off, if I place this snippet before it arrives at the category selection piece of code?  (tried - didn't work, either... but maybe I'm not placing it in the right place. I placed it just above "// Print Out"  section....)

 8O

Any & all help is much appreciated
- my php is still not too good (but I'm learning!)  :oops:

 :arrow:should I post my details.php here?

53
Quote
no, i mean, i want a completely new line with << class="head1 >> above the table.

Oh - OK, do this:

in memberlist.php, find

Code: [Select]
$userlist .="\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">\n<tr>\n<td class=\"bordercolor\">\n";
  $userlist .="<table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\">\n";
  $userlist .="<tr>\n<td class=\"head2\" align=\"center\">".$lang['user_name']."</td>\n<td class=\"head2\" align=\"center\">".$lang['join_date']."</td>\n<td class=\"head2\" align=\"center\">".$lang['email']."</td>\n<td class=\"head2\" align=\"center\">".$lang['homepage']."</td>\n<td class=\"head2\" align=\"center\">".$lang['lang_total_user_comments']."</td>\n<td class=\"head2\" align=\"center\">".$lang['lang_total_user_images']."</td>\n</tr>\n";

and replace it with

Code: [Select]
$userlist .="\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">\n<tr>\n<td class=\"bordercolor\">\n";
  $userlist .="<table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\">\n";
  $userlist .="<tr>\n<td colspan=\"6\" class=\"head1\" align=\"center\">".$lang['memberlist_text']."</td>\n</tr>\n";
  $userlist .="<tr>\n<td class=\"head2\" align=\"center\">".$lang['user_name']."</td>\n<td class=\"head2\" align=\"center\">".$lang['join_date']."</td>\n<td class=\"head2\" align=\"center\">".$lang['email']."</td>\n<td class=\"head2\" align=\"center\">".$lang['homepage']."</td>\n<td class=\"head2\" align=\"center\">".$lang['lang_total_user_comments']."</td>\n<td class=\"head2\" align=\"center\">".$lang['lang_total_user_images']."</td>\n</tr>\n";

Next, open lang/<your_lang>/main.php, and down with all the other memberlist stuff you added, put this additional line:

Code: [Select]
$lang['memberlist_text'] = "This is our memberlist";
(change the part inside the "  "  to whatever you want it to say in the new "head1" row just added.)

 :arrow:*NOTE:  in the first part of the code, the "colspan=\"6\"" part tells the new row to span over 6 columns - - if you've added or removed columns from the table below it, make this number the same as the number of columns in the table, or else it will look screwy...


54
how/where?  I've replaced (in the three files used in this MOD - details.php, categories.php, functions.php) the seven instances of $cat_id with $catid

No luck.  Works great still with the category pages, but details pages are still not responding.... :cry:

55
hmm.... thx - -

time to actually think now, instead of waiting for someone else to do it for me   8)   (I hate when that happens....)

[thinking out loud..]   so I have to somehow readjust the $cat_id to look at templates....... 

56
Ack!

I changed it back this morning when some users emailed me about a "bug".... - sorry!

Let me change the template again (& irritate visitors!) so you can see what I mean - - - it's changed...  try this image again - - you'll see a red bar now...

57
sure - click my sig.

I basically want to hide everyone's name who uploads something to the "Challenge" category (which is category #52), and everything underneath it -
  • The category template ("Categories_52.html") works well - everywhere in the challenge cat & all sub & sub-sub categories hide the user name on the thumbnail. It also has a red bar across the top with a menu in it.
  • Clicking a thumbnail from any of the challenge categories opens the Details_52.html template, which ALSO has a red bar across the top and "[*User Name Hidden*]" in the "uploaded by: " section - but this template is used throughout the whole site on every details page, not just the ones beneath the challenge cat.
  • Try this category to see what I mean - it reverts back to the "standard" categories template (no red bar & uploader name is shown), but clicking an image opens the "Red Bar" details template.


For some reason, it's not reverting to the standard details template for non-challenge images...?

thanks for any help - -

58
should be under ".bordercolor" in the CSS file -


59
 :lol:   but, as usual, I want to combine 2 MODS   :!:

I like the idea of the rating box showing a user's last rating, but the cookie never expiring so they can't vote again   8)

(nothing's ever good enough for me, as my mom often told me....  :|  )

60
Quote
if u delete the cookies, u can again vote

but the earlier one stored in the DB, so if a user votes, he can't vote again, ever.  not sure what was different between these two MODS....   :?

Pages: 1 2 3 [4] 5