1
wf4sure
Re: Extending the Titles of Submitted News
  • 2004/5/27 21:05

  • wf4sure

  • Friend of XOOPS

  • Posts: 29

  • Since: 2004/2/12


Since this topic is "sticky", does anyone know the current answer? When I open new_top.php, I'm seeing the same things as thannhhai.



2
wf4sure
user.php login template (?)
  • 2004/5/26 22:07

  • wf4sure

  • Friend of XOOPS

  • Posts: 29

  • Since: 2004/2/12


I'm still tying up loose ends after having had the XOOPS login integrated with that of another script. The Login Block on the home page was easy, I just deleted the forms and added links to the new login page in this file:

templates_c/db%3Asystem_block_login.html

And, with the help of Mithrandir and phppp, I was able to fix the "Register to Post" link that appears in the Forums.

I still need to deal with the user.php page. I fixed the registration link (language/user.php) and the lost password function should still work. But where do I find the login and password forms? I need to either delete them and put in links to the new login page (as I did in the login block on the home page) or I need to redirect the content of the forms to the new login script (this may be more than I want to take on at the moment).

Any clues would be appreciated. thanks!



3
wf4sure
Re: "Register to Post" link (in Forum)
  • 2004/5/20 19:57

  • wf4sure

  • Friend of XOOPS

  • Posts: 29

  • Since: 2004/2/12


Thank you--and for the benefit of future readers, it is in /modules/newbb/languange/your-languange/ --not the top-level languange directory...



4
wf4sure
Re: "Register to Post" link (in Forum)
  • 2004/5/20 18:05

  • wf4sure

  • Friend of XOOPS

  • Posts: 29

  • Since: 2004/2/12


Hey, thanks! I looked at /modules/newbb/viewforum.php, but didn't recognise that line. Where does the text "Register to Post" come from? does it pertain to the '._MD_REGTOPOST.' in this line:

Quote:
$xoopsTpl->assign('forum_post_or_register', '<a href="(new login URL)">'._MD_REGTOPOST.'</a>');


Thanks again!



5
wf4sure
"Register to Post" link (in Forum)
  • 2004/5/20 16:28

  • wf4sure

  • Friend of XOOPS

  • Posts: 29

  • Since: 2004/2/12


I no longer use the XOOPS registration and login--it has been integrated with another script. Adapting the login block to take users to the new login & registration page was easy, but I am having trouble finding the "Register to Post" link that shows up in the viewforum.php?... or view topic.php?... This line seems to be relevant--it appears in "db%3Anewbb_viewforum.html" and other files:

Quote:
<td align="right"><?php echo $this->_tpl_vars['forum_post_or_register']; ?>


I just want to change the "register to post" link so that it goes to the new registration page, and possibly add an explanitory note, as well. I would also be interested in any general information that might help me to better track things like this down on my own. So if you can deduce the location of the file from the information supplied above, I would be interested in understanding how. Thanks!



6
wf4sure
Re: "Big Story" (what constitutes?)
  • 2004/3/19 23:01

  • wf4sure

  • Friend of XOOPS

  • Posts: 29

  • Since: 2004/2/12


SECOND UPDATE: The following day, it quit working again. I guess I'll just remove that block for awhile and try it again later.



7
wf4sure
Re: "Big Story" (what constitutes?)
  • 2004/3/17 20:32

  • wf4sure

  • Friend of XOOPS

  • Posts: 29

  • Since: 2004/2/12


Oddly enough, I deleted all my test stories and wrote a new one and that one displayed in the "Big Story" box first thing... Perhaps I added the "Big Story" feature after the original stories had been written!? I dunno, but it's working now...

UPDATE: Now that it's working, it's clear that it's simply hits that make the difference (I can watch it change as I raise and lower the hit total by clicking on each one).



8
wf4sure
Re: "Big Story" (what constitutes?)
  • 2004/3/15 13:58

  • wf4sure

  • Friend of XOOPS

  • Posts: 29

  • Since: 2004/2/12


Thanks m0nty! Does anyone know more details on this or where it can be edited?



9
wf4sure
Re: Any tips on Integrating Style Sheets??? (CSS conflicts)
  • 2004/3/15 4:33

  • wf4sure

  • Friend of XOOPS

  • Posts: 29

  • Since: 2004/2/12


'nother UPDATE:

While the header is quite presentable at this point, the fact that the site menu font appears larger and the type, in general, is "looser" (not as tightly spaced) still bugs me. As such, as a last resort, I dedided to test the style sheets item by item and see where the conflict really originates. I am very close:

The XOOPS style sheet is overiding the other style sheet with this line:

Quote:
table td {padding: 0; border-width: 0; vertical-align: top; font-family: Verdana, Arial, Helvetica, sans-serif;}


The other style sheet controls that menu text with this line:

Quote:
body,td,th {

Font-Family : Arial;

Font-Size : 12px;
}


So far, I am unable to properly designate the scope of the second or to restrict the scope of the first. If I simply delete the first one, the menu looks fine, but other things go awry in both the header (position of graphics) and the XOOPS layout.

Here is an excerpt from the menu table:

Quote:
<table width="100%" height=17 border=0 cellpadding=0 cellspacing=0 bgcolor="#2F5376">

<tr valign=middle align=center>

<td width="100%" align=left>

&nbsp;

<font color=FFFFFF class=txt8>

<script language="javascript" type="text/javascript">

document.write(GetCurDate());

</script>

</font>

</td>

<td bgcolor=White> </td>

<td width=60 nowrap><a href="" class=mnu>Home</a></td>

<td bgcolor=White> </td>


Don't laugh too hard if I'm way off track, but I tried labeling "id=" for:

<table id=sitemenu>
<tr id=sitemenurow>
<td id=sitemenucell>

And in the stylesheet, I designated them like this:

table#sitemenu:
tr#sitemenu row:
td#sitemenu cell:

The good news is that this better than working crossword puzzels any day!



10
wf4sure
"Big Story" (what constitutes?)
  • 2004/3/14 13:00

  • wf4sure

  • Friend of XOOPS

  • Posts: 29

  • Since: 2004/2/12


The "Big Story" template says that it "Shows most read story of the day", but all mine is showing is this:

"There isn't a Biggest Story for Today, yet."

I have a number of test news stories which I have "read" several times today. Is there a minimum hit requirement? If so, how can I change it? Thanks!




TopTop
(1) 2 3 »



Login

Who's Online

173 user(s) are online (106 user(s) are browsing Support Forums)


Members: 0


Guests: 173


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