wapdesire v2 shoutbox

Started on the old forum in November 2009 · view the original in the archive · old links redirect here

22 replies · 1,265 views · started 17 years ago · 1 min read

TL;DR · summary of 22 replies
  • - The correct approach to get the shoutbox.gif image on the main menu is to change $shoutbox to just shoutbox in the code.
  • - For changing the site age limit, it's necessary to modify login.php by adjusting the condition for age verification.
  • - To resolve the inbox.gif not showing issue, ensure that the correct relative path is used and check if there are any errors in the main script related to smilies usage.
  • - The error in forums viewtopic.php seems to be due to a problem with links containing smilies; deleting them or fixing the core script functions may solve this.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

4 participants
Kirsty Developer · 59 posts #21

adnan do i just delete this

$text=preg_replace("/[topic=(.?)](.?)[/topic]/is","<a href="../forums/viewtopic.php?thread=$1&go=last&sid=$sid">$2</a>",$text); $text=preg_replace("/[club=(.?)](.?)[/club]/is","<a href="../clubs/view.php?id=$1&sid=$sid">$2</a>",$text); $text=preg_replace("/[blog=(.?)](.?)[/blog]/is","<a href="../wapsites/blogs.php?read=1&id=$1&sid=$sid

and add

[topic=(.?)](.?)[/topic]/is"," <a href="../forums/viewtopic.php?thread=$1&go=last&sid=$sid">$2</a>",$text); $text=preg_replace("/[club=(.?)](.?)[/club]/is","<a href="../clubs/view.php?id=$1&sid=$sid">$2</a>",$text); $text=preg_replace("/[blog=(.?)](.?)[/blog]/is","<a href="../wapsites/blogs.php?read=1&id=$1&sid=$sid">$2</a>",$text);

it looks same except the one you put dont have the $text=preg_replace next to topic

Kirsty Developer · 59 posts #22

the thread error is still there a mate hasnt got the error on their site so they sent me the function they use but still when i get a inbox saying someones replied to my topic it comes up with

Your Topic thread=2&go=last&sid=4abd25c1743bfbb8e969d70665f907a2">welcome has been Replied to by xkirsty

if click it get the 404 error

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close