Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter satarte

    (@satarte)

    Ok, I think it works! I’ve reset the form code to the original and it seems it solved the problem, thank you! ??

    Thread Starter satarte

    (@satarte)

    Hi, thank you for your reply, but I tried that too, and it didn’t worked. ??

    I’m using WPML translation plugin. When I sing up from my polish version I still get assigned with both lists – polish and english.

    sjardim where is that loo? in archive.php or in a single post?
    I’v added
    return null;
    right after
    // content not available in requested language (bad!!) what now?
    in qtranslate_core.php but it doesn’t appear to be working. I cant see any hangings in any loop. Here’s by page: https://www.coldtwilight.com/ – site second post should only appear in polish language.

    If I could make this work, I could finally ignore other problems with this plugin. Can you please advise me something?

    Thread Starter satarte

    (@satarte)

    Hi!
    Yes, I read this article.
    When I used the first one:

    <div id="navmenu">
    <ul>
    	<li><a href="<?php echo get_settings('home'); ?>">HOME</a></li>
    	<li><a href="wordpress/recipes/">RECIPES</a></li>
    	<li><a href="wordpress/travel/">TRAVEL</a></li>
    	<li><a href="https://www.www.remarpro.com">WORDPRESS</a></li>
    </ul>
    </div>

    only with <img> instead of text – the pictures didn’t always appear. I don’t know where did that came from, but my post category looks like this: https://www.coldtwilight.com/http:/www.coldtwilight.com/category/video instead of just https://www.coldtwilight.com/category/video, and when I was browsing post or categories the pictures in the menu ware lost (red crosses). Do you know what I mean? The rest of permalink works great, pages paths are ok, and the pictures in the menu worked fine on pages/articles.

    But as I said before, I want to install qTranslate, and this module automatically adds “language paths” like https://www.coldtwilight.com/en/book, https://www.coldtwilight.com/es/book, and so on. So my menu wont work if I’ll use this code above.

    I found also this article: https://www.jasonwhitener.com/2008/02/01/wp_list_pages, about editing classes.php, but the problem is, that each menu item should have assigned a specific pictures. “Forum” picture link should be assigned with “forum img”… and this would probably need a deeper grubbing in a code which I don’t know.

    I’m close to give up on this one, since I did really read a lot documentation about this, but I decided to post this question here, hoping that I am missing something.

    Figaro thank you for your patience :).

    Thread Starter satarte

    (@satarte)

    Hi Figaro.
    I do have links, just don’t laugh please – it’s a fan site :>.

    Here is the address: https://www.coldtwilight.com/ – the menu bar is text now, but I’d love to change into my design: https://temp.psiform.net/webdesign/08-12-coldtwilight.com/2index.html (I know I still have a lot of work to do)

    I’ve build my “new template” on “Ileather 1.0”. I’m not sure if I post my question in a right forum category (hope so), I’m also not sure if it’s only specific theme issue.

    This is my first time – using WP and building template. I only know basis of HTML and CSS, but I’m very patient and stubborn ;).

    Thank you for interesting in my case :).

    dchase, mehd36, this is still not working in my blog. I have WP 2.7, Register Plus 3.5.1 and Profiler 1.2.8. I did add few more fields but instead of list in “User profile”, I get few more columns in the “Registered users” table, and User profile didn’t change (still no additional filled fields in user profile).

    What am I doing wrong? Please help!
    This is the source code:

    function pf_output_directory($start, $records, $lastpage)
    {
    	$uids = pf_uids($start, $records, get_option('pf_sort_directory_by'), get_option('pf_sort_directory_order'));
    	$page = round($_GET['page']);
    	$character = pf_directory_url_char();
    
    	$output .= '<table border="0">';
    	$output .= '<tr>';
    	$output .= '<th>Name</th>';
    	if(get_option('pf_roles_enabled') == 'yes')
    		$output .= '<th>Role</th>';
    	if(get_option('pf_show_emails') == 'yes')
    		$output .= '<th>Email</th>';
    	$output .= '<th style="text-align: center;">Website</th>';
    	$output .= '<th>Joined</th>';
    	$output .= '<th>Gender</th>';
    	$output .= '<th>Edge</th>';
    	$output .= '<th>Location</th>';
    	$output .= '<th>Favourite music</th>';
    	$output .= '<th>Favourite book</th>';
    	$output .= '</tr>';
    
    	foreach($uids as $key=>$value)
    	{
    		//sets the required variables for the current user in the loop
    		$vars = pf_get_vars($value);
    		$vars['ID'] = pf_get_display_name($vars['ID']);
    		$vars['gender'] = get_usermeta($id, 'gender');
    		$vars['edge'] = get_usermeta($id, 'edge');
    		$vars['location'] = get_usermeta($id, 'location');
    		$vars['favourite_music'] = get_usermeta($id, 'favourite_music');
    		$vars['favourite_book'] = get_usermeta($id, 'favourite_book');
    
    		//get the user's role as a title
    		if(get_option('pf_roles_enabled') == 'yes')
    			$role = ucfirst(pf_user_role($vars['wp_capabilities']));
    
    		$output .= "<tr>";
    		$output .= "<td><a href=" . $_SERVER['REQUEST_URI'] . $character . "user=" . $vars['ID'] . ">" . $vars['display_name'] . "</a></td>";
    		if(get_option('pf_roles_enabled') == 'yes')
    			$output .= "<td>" . $role . "</td>";
    		if(get_option('pf_show_emails') == 'yes')
    			$output .= "<td><a href=" . "mailto:" . $vars['user_email'] . ">" . antispambot($vars['user_email']) . "</a></td>";
    		//only display the url if they have entered a url
    		if($vars['user_url'] != 'https://' && $vars['user_url'] != '')
    			$output .= '<td style="text-align: center;">' . "<a href=" . $vars['user_url'] . " rel=\"nofollow\">www</a></td>";
    		else
    			$output .= "<td />";
    		$output .= "<td>" . pf_format_datetime($vars['user_registered']) . "</td>";
    		if($vars['gender'] != '')
    			$output .= "Gender: " . $vars['gender'] . "</td>";
    		if($vars['edge'] != '')
    			$output .= "Edge: " . $vars['edge'] . "</td>";
    		if($vars['location'] != '')
    			$output .= "Location: " . $vars['location'] . "</td>";
    		if($vars['favourite_music'] != '')
    			$output .= "Favourite music: " . $vars['favourite_music'] . "</td>";
    		if($vars['favourite_book'] != '')
    			$output .= "Favourite book: " . $vars['favourite_book'] . "</td>";
    		$output .= "</tr>";
    	}

    Note, I’m not a programmer, not even php learner :).

Viewing 6 replies - 1 through 6 (of 6 total)