11
zimmi88
Re: Multisite HACK for 2.2.3 Final
  • 2006/9/3 5:12

  • zimmi88

  • Just popping in

  • Posts: 57

  • Since: 2005/3/9 1


PLEASE READ NOTE AT BOTTOM BEFORE MAKING ANY CHANGES TO YOUR FILES!

Okay, from my analysis of the file, the lines that need to be changed in the kernel/profilefield.php file are:

LINE 343:
Change
if (!empty($force_update) || !file_exists(XOOPS_CACHE_PATH."/profilefields.tmp")) {

to
if (!empty($force_update) || !file_exists(XOOPS_CACHE_PATH."/profilefields".XOOPS_SITE_ID.".tmp")) {


LINE 346:
Change
$s implode("", @file(XOOPS_CACHE_PATH."/profilefields.tmp"));

to
$s implode("", @file(XOOPS_CACHE_PATH."/profilefields".XOOPS_SITE_ID.".tmp"));


LINE 567:
Change
$fp fopen(XOOPS_CACHE_PATH."/profilefields.tmp""w");

to
$fp fopen(XOOPS_CACHE_PATH."/profilefields".XOOPS_SITE_ID.".tmp""w");


PLEASE NOTE!!!
These changes have not been thouroughly tested yet. Please check them on a test site first before taking them live! I make no gurantees that this will work correctly or suit your needs.

Also, if you do test these changes, please post back with your results. Thanks!

-zimmi88 =)
"Need coffee, keep away..."



12
zimmi88
Re: Login failed
  • 2006/8/22 20:36

  • zimmi88

  • Just popping in

  • Posts: 57

  • Since: 2005/3/9 1


From my understanding of what you've previously posted, the login block is visible on your site and you've logged in using it, but it doesn't log you in, despite the fact it authorizes your login and confirms the authorization.

Hmm... the login and authorization should work with or without cookies, so that can't be it....

I was wondering if you can try something. On your website, visit user.php and see if you can login using that page.

If you are able to login using user.php, check your blocks and make sure the permissions are set correctly so that the "Login" block is only visible when it's an anonymous user and the "User Menu" is visible when it's a logged in user.

Try that and post back with the results.
-zimmi88 =)

P.S.: You can reach your administration page at admin.php.
"Need coffee, keep away..."



13
zimmi88
Re: Problems after setting up Google Analytics, My site appears to only show in HTML. Please help!!
  • 2006/8/22 20:24

  • zimmi88

  • Just popping in

  • Posts: 57

  • Since: 2005/3/9 1


Glad I was able to help. Remember, if you have any more problems with your site, feel free to start up a new topic. The XOOPS forums are full of people that are always willing to help out.

Good luck with your website!
-zimmi88 =)
"Need coffee, keep away..."



14
zimmi88
Re: Is Xoops the right choice for me ?
  • 2006/8/22 20:20

  • zimmi88

  • Just popping in

  • Posts: 57

  • Since: 2005/3/9 1


Ah... case sensitivity... that's thrown me off before too....

Well, I'm glad I was able to help you with your site problem. Rembember, if you need any more help with your site, start a topic on these forums. They're full of XOOPS users that are always able to help.

In regards to your site, it's looking pretty good as a startup site. Just don't forget that XOOPS is easily customizable. As you gain more experience with the XOOPS CMS, don't forget to tailor your site assets to your needs. For example, if you're not going to use the news, links, forum, etc., modules, you can probably go ahead and remove the links to them from your theme.

Overall, just have fun customizing your site and watching your site grow. Good luck with your site and future ventures!
-zimmi88 =)
"Need coffee, keep away..."



15
zimmi88
Re: Is Xoops the right choice for me ?
  • 2006/8/21 3:57

  • zimmi88

  • Just popping in

  • Posts: 57

  • Since: 2005/3/9 1


Hi Edwinspie!

I was able to find the theme you're using online and I checked the theme file for ya. It looks like the error is within the theme file. (themes/7dana-soft/theme.html)

Starting from line code 114 (it's at the end of line 114)...
<td class="pozdrav" align="right"> &nbsp;&nbsp;<{if $xoops_isuser}> Hello <a href="<{$xoops_url}>/user.php"><{$xoops_uname}></a>&nbsp;&nbsp;&nbsp;<a href="<{$xoops_url}>/user.php">Your Info </a>&nbsp; <{else}> <a href="<{$xoops_url}>/register.php">Regiser
                    now 
                  
</a>  <{/if}> <span class="right"> <{if $xoops_isuser}> 
                  <
a href="<{$xoops_url}>/user.php?op=logout">Logout</a> <{else}> &nbsp;&nbsp;&nbsp;<a href="<{$xoops_url}>/user.php">Login</a
                  <{/if}> </
span>
                  </
td>


It's printed as "regiser" instead of "register".

Try searching for this error. If you need assistance with this, post back.

Good luck with your site!
-zimmi88 =)
"Need coffee, keep away..."



16
zimmi88
Re: Is Xoops the right choice for me ?
  • 2006/8/20 23:40

  • zimmi88

  • Just popping in

  • Posts: 57

  • Since: 2005/3/9 1


Look at themes/your_theme/theme.html. This is the main theme file that is used to create your pages and contains your site's frame as well as the smarty variables that place the content within your page.

Most likely, this typo has been coded directly into the theme file, so try doing a find/replace. If the find/replace doesn't yield any results, post back.

-zimmi88 =)
"Need coffee, keep away..."



17
zimmi88
Re: Make Modules show up under Main Menu
  • 2006/8/20 23:22

  • zimmi88

  • Just popping in

  • Posts: 57

  • Since: 2005/3/9 1


First off, check and make sure that the modules are installed. If the modules aren't installed, the system won't recgonize them. To install modules, go to the module administration page.

If the modules you are having problems with are installed, try this. With the system Main Menu block, only modules that the user has permission to view will show up in the block. Verify that users have permission to view the modules, especially Anonymous Users, who typically aren't granted access by default.

If this doesn't help the situation, verify that the order # for the modules you are having problems with are not set to zero. It's possible that the values were not submitted to the database.

If none of these solutions alleviate the problem, feel free to post back.

Well, I hope that helps! Good luck with your site!
-zimmi88 =)
"Need coffee, keep away..."



18
zimmi88
Re: Main Menu mods missing in 2.2.X
  • 2006/8/20 3:36

  • zimmi88

  • Just popping in

  • Posts: 57

  • Since: 2005/3/9 1


From your post, I've gathered that you're using 2.2.x and you have the Main Menu system block enabled. Your old modules are there, but when you added new modules to your system, they did not show up in the Main Menu block. You also stated that you changed the order # so that they are not zero.

With the system Main Menu block, only modules that the user has permission to view will show up in the block. Verify that users have permission to view the modules, especially Anonymous Users, who typically aren't granted access by default.

If this doesn't help the situation, re-verify that the order # for the modules you are having problems with are not set to zero. It's possible that the values were not submitted to the database.

If neither of these solutions alleviate the problem, feel free to post back.

Well, I hope that helps! Good luck with your site!
-zimmi88 =)
"Need coffee, keep away..."



19
zimmi88
Re: News Module - how to remove certain options?
  • 2006/8/20 3:00

  • zimmi88

  • Just popping in

  • Posts: 57

  • Since: 2005/3/9 1


Not sure on 3, but for 1 and 2...

1) To remove the "approve" checkbox, you'd have to hack the module; that is, modify the php files that the module runs on. If you don't have PHP experience, I strongly do not recommend this route. Instead, try turning on Auto-Approve in the module's preferences. It should be entitled "Auto approve news stories without admin intervention?". Set this to "Yes" and news stories will be published without the need of an administrator's approval.

2) Once again, to remove these checkboxes, you'd have to hack the module. If these are left alone (the checkbox is not checked), then it should publish immedietly with no expiration.

I hope this information helps. Good luck with your site!
-zimmi88 =)
"Need coffee, keep away..."



20
zimmi88
Re: Problems after setting up Google Analytics, My site appears to only show in HTML. Please help!!
  • 2006/8/19 17:53

  • zimmi88

  • Just popping in

  • Posts: 57

  • Since: 2005/3/9 1


Your main theme file is located in themes/your_theme/theme.html. In this file, you should typically see variables defined using the tag <{$smarty_var}>. When the Smarty Template Engine (a major core component of Xoops) sees this tag, it'll fill that section with the content that the tag calls for.

Also, please clarify what you mean by you don't have access to your site. Has your site totally disappeared for you (because it's showing up on my computer)? Can you not access the admin pages? Can you not access your site's FTP?

-zimmi88 =)
"Need coffee, keep away..."




TopTop
« 1 (2) 3 4 5 6 »



Login

Who's Online

241 user(s) are online (161 user(s) are browsing Support Forums)


Members: 0


Guests: 241


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits